]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/seekg/char/exceptions_badbit_throw.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / seekg / char / exceptions_badbit_throw.cc
index e4a672468d0e900c5bc79c370568afc23b74dfef..6054a417f75a2e2f0f1dc21c1504c66529ad9e7c 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 test01()
 {
-  bool test __attribute__((unused)) = true;
   __gnu_test::fail_streambuf bib;
   istream stream(&bib);
   stream.exceptions(ios_base::badbit);
@@ -53,7 +52,6 @@ void test01()
 
 void test02()
 {
-  bool test __attribute__((unused)) = true;
   __gnu_test::fail_streambuf bib;
   istream stream(&bib);
   stream.exceptions(ios_base::badbit);