https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91456
--- Comment #7 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:5814816641389dd76153aae63e8ccb67a1a9a321 commit r13-2764-g5814816641389dd76153aae63e8ccb67a1a9a321 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Sep 21 14:59:18 2022 +0100 libstdc++: Fix accidental duplicate test [PR91456] It looks like I committed the testcase for std::function twice, instead of one for std::function and one for std::is_invocable_r. This replaces the is_invocable_r one with the example from the PR. libstdc++-v3/ChangeLog: PR libstdc++/91456 * testsuite/20_util/function/91456.cc: Add comment with PR number. * testsuite/20_util/is_invocable/91456.cc: Likewise. Replace std::function checks with std::is_invocable_r checks.