]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/range_access.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / range_access.cc
index 020737464e30c0b8b3bc8e0056db70b2b4485bc8..3ee88d310b6affd7f28991b53f81d480cd73460d 100644 (file)
@@ -1,7 +1,7 @@
-// { dg-do compile }
-// { dg-options "-std=gnu++0x" }
+// { dg-do compile { target c++11 } }
+// { dg-timeout-factor 2 }
 
-// Copyright (C) 2010, 2012 Free Software Foundation, Inc.
+// Copyright (C) 2010-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
@@ -26,6 +26,6 @@ void
 test01()
 {
   std::smatch sm;
-  std::begin(sm);
-  std::end(sm);
+  (void) std::begin(sm);
+  (void) std::end(sm);
 }