]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string/operators/wchar_t/5.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string / operators / wchar_t / 5.cc
index 235025306ca7825793be2a657850fc5ee65e2a13..3097e9a4335dd0e3e0207a8ec4dc78bd14b352f5 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++17" }
+// { dg-do run { target c++17 } }
 
-// Copyright (C) 2016 Free Software Foundation, Inc.
+// Copyright (C) 2016-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
@@ -24,8 +24,6 @@
 
 int test01(void)
 {
-  bool test __attribute__((unused)) = true;
-
   std::wstring_view str1(L"foo");;
   std::wstring str2;