]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/modifiers/replace/wchar_t/6.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / modifiers / replace / wchar_t / 6.cc
index 105248df98a26c731647b78aaf5401536cec4392..e4ba1e46f1e5fad67db69ce4b9f25ac9208b5979 100644 (file)
@@ -1,6 +1,6 @@
 // 2004-01-26  Paolo Carlini  <pcarlini@suse.de>
 
-// Copyright (C) 2004-2013 Free Software Foundation, Inc.
+// Copyright (C) 2004-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
@@ -24,8 +24,6 @@
 
 void test01()
 {
-  bool test __attribute__((unused)) = true;
-
   std::wstring str01(L"Valle Del Salto");
   str01.replace(0, 5, str01.data() + 10, 5);
   VERIFY( str01 == L"Salto Del Salto" );