Commit 8fe79e73 by Jonathan Wakely Committed by Jonathan Wakely

Adjust DG directives in libstdc++ XFAIL test

	* testsuite/20_util/bind/ref_neg.cc: Use effective target instead of
	-std=gnu++11. Add -fno-show-columns to dg-options. Use dg-prune-output
	instead of dg-excess-errors.

From-SVN: r239535
parent c4296692
2016-08-17 Jonathan Wakely <jwakely@redhat.com> 2016-08-17 Jonathan Wakely <jwakely@redhat.com>
* testsuite/20_util/bind/ref_neg.cc: Use effective target instead of
-std=gnu++11. Add -fno-show-columns to dg-options. Use dg-prune-output
instead of dg-excess-errors.
* testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Disable * testsuite/26_numerics/headers/cmath/types_std_c++0x_neg.cc: Disable
test for C++17. test for C++17.
* testsuite/experimental/chrono/value.cc: Avoid ambiguities in C++17. * testsuite/experimental/chrono/value.cc: Avoid ambiguities in C++17.
......
...@@ -17,8 +17,8 @@ ...@@ -17,8 +17,8 @@
// 20.8.9 Function template bind // 20.8.9 Function template bind
// { dg-do compile } // { dg-options "-fno-show-column" }
// { dg-options "-std=gnu++11" } // { dg-do compile { target c++11 } }
#include <functional> #include <functional>
...@@ -48,7 +48,8 @@ void test02() ...@@ -48,7 +48,8 @@ void test02()
std::bind(&Inc::f, Inc(), std::ref(dummy))(); // { dg-error "no match" } std::bind(&Inc::f, Inc(), std::ref(dummy))(); // { dg-error "no match" }
} }
// { dg-excess-errors "reasons for deduction/substitution failures" } // Ignore the reasons for deduction/substitution failure in the headers.
// { dg-prune-output "/include/(functional|bits/invoke.h):" }
int main() int main()
{ {
......
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