]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/string_view/operations/compare/char/13650.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / string_view / operations / compare / char / 13650.cc
index 5ae3c4cc6a1a8dc8bc6d5eef291f6fc369a06ec6..a670f152f3cf6503f633f0bbdd6ca6360ed3d3ea 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++1y" }
+// { dg-do run { target c++14 } }
 
-// Copyright (C) 2013 Free Software Foundation, Inc.
+// Copyright (C) 2013-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 @@ void
 test01()
 {
   using namespace std::experimental;
-  bool test [[gnu::unused]] = true;
 
   const char lit_01[]{ 'w', 'e', '\0', 'r', 'd' };
   const char lit_02[]{ 'w', 'e', 'i', '\0', 'd' };