]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/28_regex/traits/wchar_t/value.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 28_regex / traits / wchar_t / value.cc
index 980563cf3afb5c5c554056d1f7f114f4cdd9566e..86b0c881330fce983a5b2588464f167c467047ed 100644 (file)
@@ -1,9 +1,8 @@
-// { dg-do run }
-// { dg-options "-std=gnu++11" }
+// { dg-do run { target c++11 } }
 
 // 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
@@ -28,7 +27,6 @@
 // Tests the value() function of the regex_traits<wchar_t> class.
 void test01()
 {
-  bool test __attribute__((unused)) = true;
   std::regex_traits<wchar_t> t;
   VERIFY( t.value(L'7', 8)  == 7 );
   VERIFY( t.value(L'7', 10) == 7 );