]> 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 baf5d17bc805bd0fbe56ab3e0eb44e134472011a..66cb79112b1aa47647f6fbad83daca2893c0a370 100644 (file)
@@ -1,6 +1,6 @@
-// { dg-options "-std=gnu++14" }
+// { dg-do run { target c++14 } }
 
-// Copyright (C) 2013-2015 Free Software Foundation, Inc.
+// Copyright (C) 2013-2022 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()
 {