]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/string_range_01_02_03.cc
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / basic_regex / ctors / extended / string_range_01_02_03.cc
index 036321face5f3b7bd42a03673bd99c74ae7f842a..8d7e170a0dd3dc8593570a1708c238d431698d7e 100644 (file)
@@ -1,10 +1,9 @@
-// { dg-options "-std=c++0x" }
-// { dg-do run { xfail *-*-* } }
+// { dg-options "-std=gnu++0x" }
 
 //
 // 2010-06-16  Stephen M. Webb <stephen.webb@bregmasoft.ca>
 //
-// Copyright (C) 2010 Free Software Foundation, Inc.
+// Copyright (C) 2010-2014 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -38,7 +37,7 @@ test01()
        }
        catch (std::regex_error& ex)
        {
-               VERIFY( ex.code() == std::regex_constants::error_badbrace );
+               VERIFY( ex.code() == std::regex_constants::error_brace );
        }
 }