]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/time_point/2.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / time_point / 2.cc
index dbaf3e6b7c791e27ecafb25278f8c6cb906b6b2b..d790e5b816b29c111e330ab80e9f20bfe65d97cd 100644 (file)
@@ -1,7 +1,6 @@
-// { dg-options "-std=gnu++11" }
-// { dg-require-cstdint "" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 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
@@ -27,7 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std::chrono;
   
   time_point<system_clock> t1, t2;
@@ -42,7 +40,6 @@ test01()
 void
 test02()
 {
-  bool test __attribute__((unused)) = true;
   using namespace std::chrono;
   
   time_point<system_clock> t1;