]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/traits/char/value.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / traits / char / value.cc
index 1a119860b8334cc43752c78771a0a1a7df40ca5c..444c0ad16cc12a3bde4b79687b3ba2d9eacda565 100644 (file)
@@ -2,7 +2,7 @@
 
 // 2008-08-11  Stephen M. Webb  <stephen.webb@bregmasoft.com>
 //
-// Copyright (C) 2010-2016 Free Software Foundation, Inc.
+// Copyright (C) 2010-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
@@ -27,7 +27,6 @@
 // Tests the value() function of the regex_traits<char> class.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::regex_traits<char> t;
   VERIFY( t.value('7', 8)  == 7 );
   VERIFY( t.value('7', 10) == 7 );