]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/basic_regex/assign/wchar_t/string_op.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / basic_regex / assign / wchar_t / string_op.cc
index 8ba719a95e0c28f915658c2e8444e619ed048885..0612dbc4e016f986441d7c504744027ee75c64a6 100644 (file)
@@ -1,9 +1,9 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++11" }
+// { dg-do compile { target c++11 } }
+// { dg-timeout-factor 2 }
 
 // 2007-03-12  Stephen M. Webb  <stephen.webb@bregmasoft.com>
 //
-// Copyright (C) 2010-2015 Free Software Foundation, Inc.
+// Copyright (C) 2010-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
 
 #include <string>
 #include <regex>
-#include <testsuite_hooks.h>
 
 // Tests basic_regex assignment operator from a C++ string;
 void test01()
 {
-       bool test __attribute__((unused)) = true;
-       typedef std::basic_regex<wchar_t> test_type;
+  typedef std::basic_regex<wchar_t> test_type;
 
   std::wstring s(L"a*b");
   test_type re;