On 31/07/16 19:46 +0100, Jonathan Wakely wrote:
diff --git 
a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc 
b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
index 5625653..758f216 100644
--- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
+++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
@@ -1,4 +1,3 @@
-// { dg-options "-std=gnu++11" }

Oops, I didn't mean to commit this chunk (I had to remove it to check
running the test with -std=c++11 and forgot to restore it).

This replaces it with { target c++11 } which is better anyway.

Committed to trunk.


commit 98281f356518ee6ddc4b10c459bb8dcc21b1eeab
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Sun Jul 31 19:51:40 2016 +0100

    Enable std::regex test for C++11 or later
    
    	* testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc: Only
    	run for C++11 or later.

diff --git a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
index 758f216..c2ac901 100644
--- a/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
+++ b/libstdc++-v3/testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc
@@ -1,3 +1,4 @@
+// { dg-do run { target c++11 } }
 
 // 2012-08-20  Benjamin Kosnik <b...@redhat.com>
 //

Reply via email to