Commit e0f7051e by Jonathan Wakely Committed by Jonathan Wakely

Fix new test to run as well as compile

	* testsuite/20_util/function_objects/bind_front/1.cc: Change from
	compile test to run. Fix typo.

From-SVN: r269457
parent 5178f5c2
2019-03-07 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/function_objects/bind_front/1.cc: Change from
compile test to run. Fix typo.
* doc/xml/manual/status_cxx2020.xml: Update C++20 status.
* doc/html/*: Regenerate.
......
......@@ -16,7 +16,7 @@
// <http://www.gnu.org/licenses/>.
// { dg-options "-std=gnu++2a" }
// { dg-do compile { target c++2a } }
// { dg-do run { target c++2a } }
#include <functional>
#include <testsuite_hooks.h>
......@@ -87,7 +87,7 @@ test02()
// constness and value category should be forwarded to the target object:
q = g();
VERIFY( ! q.as_const && q.as_lvalue );
std::move(g)();
q = std::move(g)();
VERIFY( ! q.as_const && ! q.as_lvalue );
q = cg();
VERIFY( q.as_const && q.as_lvalue );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment