Enable std::regex test for C++11 or later
authorJonathan Wakely <jwakely@redhat.com>
Sun, 31 Jul 2016 18:54:31 +0000 (19:54 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 31 Jul 2016 18:54:31 +0000 (19:54 +0100)
* testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Only
run for C++11 or later.

From-SVN: r238927

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc

index a878d1e24655d94e01a33d333278e9a21507776e..eeedd5ae7b3567f5b0ec951b9e44e2adff317878 100644 (file)
@@ -1,5 +1,8 @@
 2016-07-31  Jonathan Wakely  <jwakely@redhat.com>
 
+       * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Only
+       run for C++11 or later.
+
        * testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Fix
        test to not rely on GNU extension (escaped normal characters in POSIX
        BRE). Enable tests for other strings which are now supported.
index 758f216b0a9642040c486bd243dd80fa843d9cda..c2ac90114836edeb4792d44a913a8ec7f0120c7a 100644 (file)
@@ -1,3 +1,4 @@
+// { dg-do run { target c++11 } }
 
 // 2012-08-20  Benjamin Kosnik <bkoz@redhat.com>
 //