]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/operations/rfind/char/3.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / operations / rfind / char / 3.cc
index 20f0800fc954768dff7cca36fb2d982b6011605d..f22e6b914c296ab3926f63d85e1279ea1223dad8 100644 (file)
@@ -1,6 +1,6 @@
 // from tstring.cc, from jason merrill, et. al.
 
-// Copyright (C) 2000-2014 Free Software Foundation, Inc.
+// Copyright (C) 2000-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
@@ -21,9 +21,8 @@
 #include <testsuite_hooks.h>
 
 // 21.3.6.6 basic_string::find_last_not_of
-bool test03()
+void test03()
 {
-  bool test __attribute__((unused)) = true;
   typedef std::string::size_type csize_type;
   std::string::size_type pos;
   csize_type npos = std::string::npos;
@@ -55,7 +54,6 @@ bool test03()
   VERIFY( pos == 0 );
   pos = z.find_last_not_of("Xa");
   VERIFY( pos == 1 );
-  return test;
 }
 int main()
 {