]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/modifiers/replace/char/6.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / modifiers / replace / char / 6.cc
index f9004c011dbed364e1b0a978942b6ed9f7de5361..672610229a5b5b628c01379e21a3331c178f195f 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::string str01("Valle Del Salto");
   str01.replace(0, 5, str01.data() + 10, 5);
   VERIFY( str01 == "Salto Del Salto" );