]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/random/subtract_with_carry_engine/cons/default.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / subtract_with_carry_engine / cons / default.cc
index 1819a3fc6e9e9dd9c59981846924659ed00f539c..ec1d4e7e853e1067151f6307cbf148ec4acecf58 100644 (file)
@@ -1,9 +1,9 @@
-// { dg-options "-std=c++0x" }
+// { dg-do run { target c++11 } }
 // { dg-require-cstdint "" }
 //
 // 2008-11-24  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// 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
@@ -26,8 +26,6 @@
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::subtract_with_carry_engine<unsigned long, 24, 10, 24> x;
   VERIFY( x.min() == 0 );
   VERIFY( x.max() == ((1UL << 24) - 1) );