aboutsummaryrefslogtreecommitdiff
path: root/gcc/function-tests.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-06-14 13:17:40 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-06-14 14:04:45 +0100
commit45fb3d45a4d4b79a00c56fa93e9e69d9d7762ca0 (patch)
tree279e2c6376f39142392d066eb0f4a07506916f82 /gcc/function-tests.c
parentb76a529c095f076c4780df0c913cf6d2391bcbc9 (diff)
downloadgcc-45fb3d45a4d4b79a00c56fa93e9e69d9d7762ca0.zip
gcc-45fb3d45a4d4b79a00c56fa93e9e69d9d7762ca0.tar.gz
gcc-45fb3d45a4d4b79a00c56fa93e9e69d9d7762ca0.tar.bz2
libstdc++: Add explicit -std=gnu++17 option to test
This test has no -std option so when the testsuite is run with -std=gnu++20 or later, this test will use that. The recent addition of no_unique_address will cause it to FAIL, because that's a reserved word after C++17. Add an explicit option, so that this test alays uses exactly C++17. libstdc++-v3/ChangeLog: * testsuite/17_intro/headers/c++2017/all_attributes.cc: Add -std=gnu++17 option.
Diffstat (limited to 'gcc/function-tests.c')
0 files changed, 0 insertions, 0 deletions