]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/string_view/operations/find/wchar_t/3.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / string_view / operations / find / wchar_t / 3.cc
index 4594b9a78028e775eda03b486aaddd35303e5a3c..b0da62317841e16cf1d54390d0409c6feb58f609 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-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
 #include <experimental/string_view>
 #include <testsuite_hooks.h>
 
-bool
+void
 test03()
 {
-  bool test [[gnu::unused]] = true;
-
   typedef std::experimental::wstring_view::size_type csize_type;
   csize_type npos = std::experimental::wstring_view::npos;
   csize_type csz01;
@@ -84,8 +82,6 @@ test03()
   VERIFY( csz01 == 0 );
   csz01 = str04.find_first_not_of(L'S');
   VERIFY( csz01 == npos );
-
-  return test;
 }
 
 int