From: Jonathan Wakely Date: Sun, 31 Jul 2016 18:54:31 +0000 (+0100) Subject: Enable std::regex test for C++11 or later X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d23d1bee8cd9de87e89a81f429a4f6d7f1ed4f65;p=gcc.git 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. From-SVN: r238927 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a878d1e2465..eeedd5ae7b3 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-07-31 Jonathan Wakely + * 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. 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 758f216b0a9..c2ac9011483 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 //