]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libstdc++-v3/testsuite/20_util/function_objects/invoke/59768.cc
Update copyright years.
[thirdparty/gcc.git] / libstdc++-v3 / testsuite / 20_util / function_objects / invoke / 59768.cc
index 2536d229f64ef54073784685bbb11444b23782ac..8df2cf0ff22343e958e4a0431586f2d65aa37455 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2017 Free Software Foundation, Inc.
+// Copyright (C) 2015-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
@@ -15,7 +15,7 @@
 // with this library; see the file COPYING3.  If not see
 // <http://www.gnu.org/licenses/>.
 
-// { dg-options "-std=gnu++1z" }
+// { dg-options "-std=gnu++17" }
 // { dg-do compile }
 
 #include <functional>
@@ -35,9 +35,3 @@ test01()
   std::invoke(&A::foo, refc, 100);             // const lvalue
   std::invoke(&A::foo, std::move(refc), 100);  // const rvalue
 }
-
-int
-main()
-{
-  test01();
-}