]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_other/char/error_failbit.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_other / char / error_failbit.cc
index 089ea8f320b8c4495326651116d661d19ab10cb2..539b19be8cbb2e3a65c00af376914aba5baa80ca 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2003-2016 Free Software Foundation, Inc.
+// Copyright (C) 2003-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 test6()
 {
-  bool test __attribute__((unused)) = true;
   __gnu_test::fail_streambuf bib;
   istream stream(&bib);
   stringbuf sbuf("", ios_base::out);
@@ -39,7 +38,6 @@ void test6()
 
 void test8()
 {
-  bool test __attribute__((unused)) = true;
   istringstream stream("foo, bar, qux");
   __gnu_test::fail_streambuf bob;