]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/modifiers/append/wchar_t/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / modifiers / append / wchar_t / 1.cc
index e938d6dd416cc80472e0b88e78b5072212ebfec7..604f94238f5390d0fceedbf5de8d550069c485b8 100644 (file)
@@ -1,6 +1,6 @@
 // 1999-07-08 bkoz
 
-// Copyright (C) 1999-2015 Free Software Foundation, Inc.
+// Copyright (C) 1999-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
@@ -23,9 +23,8 @@
 #include <stdexcept>
 #include <testsuite_hooks.h>
 
-bool test01(void)
+void test01(void)
 {
-  bool test __attribute__((unused)) = true;
   typedef std::wstring::size_type csize_type;
   typedef std::wstring::const_reference cref;
   typedef std::wstring::reference ref;
@@ -148,7 +147,6 @@ bool test01(void)
   str05.append(str05.begin(), str05.begin() + str05.find(L'r')); 
   VERIFY( str05 ==  L"point bolivar, texaspoint boliva" );
   VERIFY( str05 != str01 );
-  return test;
 }
 
 int main()