]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/26_numerics/random/piecewise_linear_distribution/cons/num_xbound_fun.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 26_numerics / random / piecewise_linear_distribution / cons / num_xbound_fun.cc
index f8afd640d75fed3d8032c037998898ad98489efa..a889d71ad151700419301f6b4a33a9974c8759d1 100644 (file)
@@ -1,9 +1,9 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 // { dg-require-cstdint "" }
 //
 // 2008-12-03  Edward M. Smith-Rowland <3dw4rd@verizon.net>
 //
-// Copyright (C) 2008-2016 Free Software Foundation, Inc.
+// Copyright (C) 2008-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
@@ -56,8 +56,6 @@ private:
 void
 test01()
 {
-  bool test __attribute__((unused)) = true;
-
   cosine_distribution cd(1.5, 3.0);
   std::piecewise_linear_distribution<> u(21, -10.0, 10.0, cd);
   std::vector<double> interval = u.intervals();