]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/map/element_access/39901.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / map / element_access / 39901.cc
index d40bdc600f28ea266c8362f1745e88b76fce4b8b..48f484ba7614325caf99b955c834423b2424c3dc 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++0x" }
+// { dg-do run { target c++11 } }
 
-// Copyright (C) 2012-2014 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
@@ -23,8 +23,6 @@
 // c++/39901
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::map<std::pair<int, int>, int> the_map;
 
   the_map[{0, 1}] = 5;