]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/ratio/cons/cons1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / ratio / cons / cons1.cc
index 20d7e51b60bb5b53ad1b66f38e1780d19cdc0e20..ba2c3666cdde116fc848915dcf6ef992dadd496c 100644 (file)
@@ -1,9 +1,8 @@
-// { dg-options "-std=gnu++11" }
-// { dg-require-cstdint "" }
+// { dg-do run { target c++11 } }
 
 // 2008-07-03 Chris Fairles <chris.fairles@gmail.com>
 
-// Copyright (C) 2008-2016 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
@@ -26,8 +25,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::ratio<1,3> r0;
   std::ratio<2,6> r1;  
   std::ratio<2,-6> r2;