]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/basic_regex/ctors/extended/cstring.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / basic_regex / ctors / extended / cstring.cc
index 03c20a4f6dda7accf385a14996660edda74d8ad8..3eadb445209990b1a48b955def177c7bc995a7ef 100644 (file)
@@ -1,8 +1,8 @@
-// { dg-options "-std=c++0x" }
+// { dg-do run { target c++11 } }
 
 // 2007-03-12  Stephen M. Webb  <stephen.webb@bregmasoft.com>
 //
-// Copyright (C) 2007-2013 Free Software Foundation, Inc.
+// Copyright (C) 2007-2017 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
@@ -27,8 +27,6 @@
 void
 test01() 
 { 
-  bool test __attribute__((unused)) = true;
-
   std::regex re("(wee|week)(knights|night)", std::regex::extended);
   
   VERIFY( re.flags() == std::regex::extended );