]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/string_view/operations/rfind/wchar_t/3.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / string_view / operations / rfind / wchar_t / 3.cc
index 189dbba6ed2d5e8747a6c1401398f646c86fdb55..d5bf5928b63085516e5ba64dc1707750face6d85 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
 
 // basic_string_view::find_last_not_of
 
-bool
+void
 test03()
 {
-  bool test [[gnu::unused]] = true;
-
   typedef std::experimental::wstring_view::size_type csize_type;
   std::experimental::wstring_view::size_type pos;
   csize_type npos = std::experimental::wstring_view::npos;
@@ -58,9 +56,8 @@ test03()
   VERIFY( pos == 0 );
   pos = z.find_last_not_of(L"Xa");
   VERIFY( pos == 1 );
-
-  return test;
 }
+
 int
 main()
 {