]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_arithmetic / char / 03.cc
index d0008916ef91509e9ba83c1c7205b0f7adedc55f..01da7369f1d17a9383bd5033910c365ffe5c9b6a 100644 (file)
@@ -1,6 +1,6 @@
 // 1999-04-12 bkoz
 
-// Copyright (C) 1999-2014 Free Software Foundation, Inc.
+// Copyright (C) 1999-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
 #include <locale>
 #include <testsuite_hooks.h>
 
-bool test03()
+void test03()
 {
   std::stringbuf sbuf;
   std::istream istr(&sbuf);
   std::ostream ostr(&sbuf);
 
-  bool test __attribute__((unused)) = true;
   long l01;
   ostr << "12220101";
   istr >> l01; // _M_in_end set completely incorrectly here.
   VERIFY( l01 == 12220101 );
   VERIFY( istr.rdstate() == std::ios_base::eofbit );
-  return test;
 }
 
 int main()