aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-05-23 22:41:08 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-05-23 22:41:08 +0100
commit5f303216e5e321f759a88c7c1cbffd84b0997ead (patch)
tree7c0f6ee0d52382f510cea9ee0717d81598baedd1 /gcc
parentfb3fc4bded8d934b603a7f07ab3cfe3b644ee971 (diff)
downloadgcc-5f303216e5e321f759a88c7c1cbffd84b0997ead.zip
gcc-5f303216e5e321f759a88c7c1cbffd84b0997ead.tar.gz
gcc-5f303216e5e321f759a88c7c1cbffd84b0997ead.tar.bz2
Fix testsuite bugs
One of the static assertions in 20_util/function_objects/invoke/1.cc was wrong, but didn't fail because by default it was compiled with -std=gnu++14 which didn't use that static assertion. Split out the C++17 parts to a new file that always runs with -std=gnu++17, so those checks are always done. The 23_containers/unordered_set/allocator/ext_ptr.cc test is supposed to be a run-time test but was unintentionally compile-only. * testsuite/20_util/function_objects/invoke/1.cc: Move C++17-specific tests to ... * testsuite/20_util/function_objects/invoke/3.cc: New test. * testsuite/23_containers/unordered_set/allocator/ext_ptr.cc: Change "compile" test to "run". From-SVN: r271584
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions