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