]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Require C++11 for 23_containers/vector/bool/110807.cc [PR110807]
authorJonathan Wakely <jwakely@redhat.com>
Wed, 26 Jul 2023 18:08:39 +0000 (19:08 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 26 Jul 2023 18:10:11 +0000 (19:10 +0100)
This new test uses uniform initialization syntax, so requires C++11 or
later.

libstdc++-v3/ChangeLog:

PR libstdc++/110807
* testsuite/23_containers/vector/bool/110807.cc: Require c++11.

libstdc++-v3/testsuite/23_containers/vector/bool/110807.cc

index 5c019bd9524622e7ddf706eb94b9382ea8357041..2e9d4019edbee0c9f82fb89fa270f2b74c65ded1 100644 (file)
@@ -1,5 +1,5 @@
 // { dg-options "-O2" }
-// { dg-do compile }
+// { dg-do compile { target c++11 } }
 
 // Bug 110807
 // Copy list initialisation of a vector<bool> raises a warning with -O2