]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/tr1/7_regular_expressions/regex_traits/wchar_t/value.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / tr1 / 7_regular_expressions / regex_traits / wchar_t / value.cc
index 886b8e4b6b1f5a68f9c369892fc32613f7b674bb..4fb9aed5d80e422b40fdd2a51ad9c23baff149e0 100644 (file)
@@ -2,7 +2,7 @@
 
 // 2008-08-11  Stephen M. Webb  <stephen.webb@bregmasoft.com>
 //
-// Copyright (C) 2008-2015 Free Software Foundation, Inc.
+// Copyright (C) 2008-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::tr1::regex_traits<char> t;
   VERIFY( t.value('7', 8)  == 7 );
   VERIFY( t.value('7', 10) == 7 );
@@ -42,7 +41,7 @@ void test01()
 
 int
 main()
-{ 
+{
   test01();
   return 0;
 }