[PATCH] Fix non-portable std::regex test and test more cases

Jonathan Wakely jwakely@redhat.com
Sun Jul 31 18:54:00 GMT 2016


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 728 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160731/1838f7dd/attachment.bin>


More information about the Libstdc++ mailing list