]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/traits/wchar_t/lookup_collatename.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / traits / wchar_t / lookup_collatename.cc
index 14e87d9f080357b964daa8b29ed1bf0d5603c0a4..8f5511179fb88d114cc876cf9fb9b5770bb1211b 100644 (file)
@@ -1,8 +1,8 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
+// { dg-timeout-factor 2 }
 
 //
-// Copyright (C) 2010-2014 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
@@ -29,7 +29,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   typedef wchar_t CharT;
   typedef std::regex_traits<CharT> traits;
 
@@ -40,6 +39,6 @@ test01()
 
 int main()
 {
-       test01();
-       return 0;
+  test01();
+  return 0;
 }