]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/basic_regex/assign/char/cstring.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / basic_regex / assign / char / cstring.cc
index 5ee1b422858ccefeed51171ad2f0fabebaf03a68..b6de630ea171d517ee5f365d3b5039f0ebf51997 100644 (file)
@@ -1,8 +1,9 @@
-// { dg-options "-std=c++11" }
+// { dg-do run { target c++11 } }
+// { dg-timeout-factor 2 }
 
 // 2009-06-05  Stephen M. Webb  <stephen.webb@bregmasoft.ca>
 //
-// Copyright (C) 2009-2016 Free Software Foundation, Inc.
+// Copyright (C) 2009-2024 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
@@ -35,8 +36,6 @@ void test01()
 // basic_regex::operator=() resets flags. libstdc++/64680
 void test02()
 {
-  bool test __attribute__((unused)) = true;
-
   std::regex re("[[:alnum:]]", std::regex_constants::basic);
   re = "\\w+";
 }