]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/25_algorithms/min/4.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 25_algorithms / min / 4.cc
index e0a50b908e197953b148d6660ba1e4d9ead4176c..5f24effa0063d6cf7c03b08ea9c58b87c3fc16e0 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++0x" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2008-2014 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
@@ -23,8 +23,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   const int& z = std::min({1, 2, 3, 4, 5, 6, 7});
   const double& w = std::min({2.0, 1.0, 3.2, 4.5, 5.0, 6.0, 7.0});
   const int& y = std::min({2, 3, 1, 4, 5, 6, 7});