]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/algorithms/regex_match/awk/cstring_01.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / algorithms / regex_match / awk / cstring_01.cc
index a8cf15b69992f0bd54d600abb04699bf38880269..43767ba42b4261e72bc0f72982132e2cfc11efe6 100644 (file)
@@ -1,9 +1,10 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
+// { dg-timeout-factor 2 }
 
 //
 // 2013-08-26  Tim Shen <timshen91@gmail.com>
 //
-// Copyright (C) 2013-2015 Free Software Foundation, Inc.
+// Copyright (C) 2013-2023 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
@@ -33,8 +34,6 @@ using namespace std;
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   regex("\\[", regex_constants::awk);
   VERIFY(regex_match_debug("\"", regex("[\\\"]", regex_constants::awk)));
   VERIFY(regex_match_debug("/", regex("/", regex_constants::awk)));