]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/23_containers/array/requirements/fill.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 23_containers / array / requirements / fill.cc
index 5dd29022d1a13936723e78ff3234408f52570412..20b7c7adcd3078992596fb204057aaee29766d11 100644 (file)
@@ -1,8 +1,8 @@
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 
 // 2008-06-13  Paolo Carlini  <paolo.carlini@oracle.com>
 //
-// Copyright (C) 2008-2014 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 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
@@ -24,9 +24,7 @@
 
 // DR 776. Undescribed assign function of std::array.
 void test01()
-{ 
-  bool test __attribute__((unused)) = true;
-
+{
   const size_t len = 3;
   typedef std::array<int, len> array_type;