]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/6_containers/array/capacity/size.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 6_containers / array / capacity / size.cc
index a429bc4bf38185cde506559499d194cde1fb49eb..c40452acb9a1961fe4f02ae2f9314dab3d89a198 100644 (file)
@@ -1,6 +1,6 @@
 // 2004-10-20  Benjamin Kosnik  <bkoz@redhat.com>
 //
-// Copyright (C) 2004-2016 Free Software Foundation, Inc.
+// Copyright (C) 2004-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
 #include <testsuite_hooks.h>
 
 void
-test01() 
-{ 
+test01()
+{
   {
     const size_t len = 5;
     typedef std::tr1::array<int, len> array_type;
-    bool test __attribute__((unused)) = true;
     array_type a = { { 0, 1, 2, 3, 4 } };
 
     VERIFY( a.size() == len );
@@ -37,7 +36,6 @@ test01()
   {
     const size_t len = 0;
     typedef std::tr1::array<int, len> array_type;
-    bool test __attribute__((unused)) = true;
     array_type a;
 
     VERIFY( a.size() == len );