]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/random/linear_congruential_engine/operators/51795.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / linear_congruential_engine / operators / 51795.cc
index 18f4261079a1c13df540adbbbd2dff49e39dff58..69b6dabcdd944c439f6c64d143ee6e68832a1b84 100644 (file)
@@ -1,7 +1,7 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 // { dg-require-cstdint "" }
 //
-// Copyright (C) 2012-2016 Free Software Foundation, Inc.
+// Copyright (C) 2012-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
@@ -25,8 +25,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   typedef std::linear_congruential_engine<std::uint64_t, 1103515245ULL,
                                          12345, 2147483648ULL> engine;
   engine eng(1103527590ULL);