]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/exceptions_badbit_throw.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_ostream / inserters_other / wchar_t / exceptions_badbit_throw.cc
index 954d56790ebb633240160794c6e31cf498df8253..84d9263e2b696e09aad93eea3bfbf39adb6c4842 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 test13()
 {
-  bool test __attribute__((unused)) = true;
   __gnu_test::fail_wstreambuf bob;
   wostream stream(&bob);
   stream.exceptions(ios_base::badbit);
@@ -45,7 +44,6 @@ void test13()
 
 void test15()
 {
-  bool test __attribute__((unused)) = true;
   wostringstream stream;
   stream.exceptions(ios_base::badbit);
   __gnu_test::fail_wstreambuf bib;