libstdc++: Ensure c++NN effective-target present in more tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 31 Jul 2020 18:58:03 +0000 (19:58 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 31 Jul 2020 18:58:03 +0000 (19:58 +0100)
commit9d613af2b45d910b37044cdbd5f8bb2ac279d06d
tree10322fae601593972c429144dff502977b0aa50f
parenta92e0f58d83eff14bd95cf655903debb1d1a03ad
libstdc++: Ensure c++NN effective-target present in more tests

Add effective-target keywords to tests that would fail for certain
standard modes without the -std=gnu++NN option.

libstdc++-v3/ChangeLog:

* testsuite/18_support/set_terminate.cc: Require C++11 or
higher.
* testsuite/28_regex/simple_c++11.cc: Likewise.
* testsuite/tr1/headers/c++200x/complex.cc: Likewise.
* testsuite/24_iterators/headers/iterator/synopsis.cc:
Require C++14 or lower.
libstdc++-v3/testsuite/18_support/set_terminate.cc
libstdc++-v3/testsuite/24_iterators/headers/iterator/synopsis.cc
libstdc++-v3/testsuite/28_regex/simple_c++11.cc
libstdc++-v3/testsuite/tr1/headers/c++200x/complex.cc