From d23d1bee8cd9de87e89a81f429a4f6d7f1ed4f65 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Sun, 31 Jul 2016 19:54:31 +0100 Subject: [PATCH] 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 --- libstdc++-v3/ChangeLog | 3 +++ .../testsuite/28_regex/basic_regex/ctors/basic/raw_string.cc | 1 + 2 files changed, 4 insertions(+) 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 // -- 2.30.2