]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/array/element_access/front.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / array / element_access / front.cc
index 23a714e85a961d729b8a2f70d2f473e7a049efa3..a655fc2b57d207946bba7dc09fb92ec1ac3821f7 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 //
-// Copyright (C) 2011-2015 Free Software Foundation, Inc.
+// Copyright (C) 2011-2022 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
@@ -22,9 +22,7 @@
 
 void
 test01() 
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 5;
   typedef std::array<int, len> array_type;