]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/algorithms/regex_match/extended/string_range_01_03.cc
Update copyright years in libstdc++-v3/
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / algorithms / regex_match / extended / string_range_01_03.cc
index e715290c2421dd904d2a854f63daab23d359e309..c724ff6ac914615db96d385e47d9c4c79d9f318a 100644 (file)
@@ -3,7 +3,7 @@
 //
 // 2010-06-16  Stephen M. Webb <stephen.webb@bregmasoft.ca>
 //
-// Copyright (C) 2010-2013 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
 
 #include <regex>
 #include <testsuite_hooks.h>
+#include <testsuite_regex.h>
+
+using namespace __gnu_test;
+using namespace std;
 
 void
 test01()
@@ -35,7 +39,7 @@ test01()
        std::string target("aa");
        std::smatch m;
 
-       VERIFY( std::regex_match(target, m, re) );
+       VERIFY( regex_match_debug(target, m, re) );
 
        VERIFY( m.size()  == re.mark_count()+1 );
        VERIFY( m.empty() == false );