]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/array/element_access/back.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / array / element_access / back.cc
index 2ca3787d49442cc102db2e2b00d58bf1df92d1dc..e4b302e60de19a0fdfceaecffad6429eeecf9ce8 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 //
-// Copyright (C) 2011-2016 Free Software Foundation, Inc.
+// Copyright (C) 2011-2023 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;