]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string_view/operations/find/wchar_t/3.cc
testsuite_hooks.h: Rewrite VERIFY in terms of __builtin_printf and __builtin_abort.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 21_strings / basic_string_view / operations / find / wchar_t / 3.cc
index 82357b807d1f28625d1e4e784cd0039afb5cdfa3..4faee2e3550da571386cfe5d79afc3eb3465fa13 100644 (file)
 #include <string_view>
 #include <testsuite_hooks.h>
 
-bool
+void
 test03()
 {
-  bool test [[gnu::unused]] = true;
-
   typedef std::wstring_view::size_type csize_type;
   csize_type npos = std::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