]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 27_io / basic_istream / extractors_arithmetic / wchar_t / 11.cc
index 5eb256ef91b8011f09b922b83db2c3e1a2c787a7..a4b6e03630f2f0f0d257ef093d198581d1a41f1d 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2004, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2004-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,9 +26,8 @@
 // In the presence of no fmtflags, the input operator should behave
 // like strtol(x, y, 0)
 // libstdc++/90
-bool test11()
+void test11()
 {
-  bool test __attribute__((unused)) = true;
   const wchar_t* cstrlit = L"0x2a";
 
   // sanity check via 'C' library call
@@ -42,8 +41,6 @@ bool test11()
 
   VERIFY( !iss.fail() );
   VERIFY( l == i );
-
-  return test;
 }
 
 int main()