]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/25_algorithms/unique_copy/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 25_algorithms / unique_copy / 1.cc
index b6062be3a743439b5eb2f1c60cfd5e819fae4080..b7c7078bcf76a9720c73b5434ced161ed7875cd8 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2005-2016 Free Software Foundation, Inc.
+// Copyright (C) 2005-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
@@ -37,7 +37,6 @@ int array2[2];
 void 
 test1()
 {
-  bool test __attribute__((unused)) = true;
   Icontainer con1(array1, array1);
   Ocontainer con2(array2, array2);
   VERIFY( unique_copy(con1.begin(), con1.end(), con2.begin()).ptr == array2 );
@@ -46,7 +45,6 @@ test1()
 void
 test2()
 {
-  bool test __attribute__((unused)) = true;
   Icontainer con1(array1, array1 + 6);
   Ocontainer con2(array2, array2 + 2);
   VERIFY( unique_copy(con1.begin(), con1.end(), con2.begin()).ptr 
@@ -57,7 +55,6 @@ test2()
 void
 test3()
 {
-  bool test __attribute__((unused)) = true;
   Icontainer con1(array1, array1);
   Fcontainer con2(array2, array2);
   VERIFY( unique_copy(con1.begin(), con1.end(), con2.begin()).ptr == array2 );
@@ -66,7 +63,6 @@ test3()
 void
 test4()
 {
-  bool test __attribute__((unused)) = true;
   Icontainer con1(array1, array1 + 6);
   Fcontainer con2(array2, array2 + 2);
   VERIFY( unique_copy(con1.begin(), con1.end(), con2.begin()).ptr