]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/experimental/string_view/operations/substr/char/1.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / experimental / string_view / operations / substr / char / 1.cc
index 69452c8962ad961bd857ca674ca67d476036e6e4..58738e10fa000824320ad14ece07ed21ebcc8036 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do run { target c++14 } }
 
-// Copyright (C) 2013-2016 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 <stdexcept>
 #include <testsuite_hooks.h>
 
-bool
+void
 test01()
 {
-  bool test [[gnu::unused]] = true;
-
   typedef std::experimental::string_view::size_type csize_type;
   typedef std::experimental::string_view::const_reference cref;
   typedef std::experimental::string_view::reference ref;
@@ -70,8 +68,6 @@ test01()
   {
     VERIFY( false );
   }
-
-  return test;
 }
 
 int