]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_failbit_throw.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ostream / inserters_other / char / exceptions_failbit_throw.cc
index 1a090a449dff7955fe329dd2011a6049ddf490ad..6fa50a415623aa68c3b52b0e081cbe687eaf8ff0 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003-2014 Free Software Foundation, Inc.
+// Copyright (C) 2003-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
@@ -26,7 +26,6 @@ using namespace std;
 
 void test9()
 {
-  bool test __attribute__((unused)) = true;
   __gnu_test::fail_streambuf bob;
   ostream stream(&bob);
   stream.exceptions(ios_base::failbit);
@@ -50,7 +49,6 @@ void test9()
 
 void test11()
 {
-  bool test __attribute__((unused)) = true;
   ostringstream stream;
   stream.exceptions(ios_base::failbit);
   __gnu_test::fail_streambuf bib;