]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/21_strings/basic_string_view/operations/copy/char/1.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 / copy / char / 1.cc
index a583e13a2b1ca64c240665caddfddb70c10c05c3..955d1fb551c442994e9e6820baa17ba36dbd1df9 100644 (file)
@@ -25,8 +25,6 @@
 bool
 test01()
 {
-  bool test [[gnu::unused]] = true;
-
   typedef std::string_view::size_type csize_type;
 
   const char str_lit01[] = "123456789A";
@@ -36,8 +34,6 @@ test01()
   csize_type len = str01.copy(buffer, sizeof(buffer), 8);
   VERIFY( 2 == len );
   VERIFY( '9' == buffer[0] );
-
-  return test;
 }
 
 int