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
This commit is contained in:
Jonathan Wakely 2016-08-17 14:39:10 +01:00 committed by Jonathan Wakely
parent c42966921a
commit 8fe79e7334
2 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,9 @@
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
test for C++17.
* testsuite/experimental/chrono/value.cc: Avoid ambiguities in C++17.

View File

@ -17,8 +17,8 @@
// 20.8.9 Function template bind
// { dg-do compile }
// { dg-options "-std=gnu++11" }
// { dg-options "-fno-show-column" }
// { dg-do compile { target c++11 } }
#include <functional>
@ -48,7 +48,8 @@ void test02()
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()
{