]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/string_view/cons/char/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / string_view / cons / char / 1.cc
index 88b4bdc1b00d8d8ecb94b2ee6c076d8685cb6d0e..eaf6f24d750b99ebacbdef7326fdc1710a2e504e 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
-// Copyright (C) 2013-2014 Free Software Foundation, Inc.
+// Copyright (C) 2013-2024 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()
 {
-  bool test [[gnu::unused]] = true;
   typedef std::experimental::string_view::size_type csize_type;
 
   // basic_string_view()