]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix accidental duplicate test [PR91456]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 21 Sep 2022 13:59:18 +0000 (14:59 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 21 Sep 2022 14:01:37 +0000 (15:01 +0100)
commit5814816641389dd76153aae63e8ccb67a1a9a321
tree9be44a7b47d97486dd547b8e638b19c60d1e0200
parent16fe325a43274cbab2332ef1c60b9c1ff85db6ef
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.
libstdc++-v3/testsuite/20_util/function/91456.cc
libstdc++-v3/testsuite/20_util/is_invocable/91456.cc