* testsuite/20_util/function_objects/bind_front/1.cc: Change from
compile test to run. Fix typo.
From-SVN: r269457
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.
// <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>
// 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 );