* 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
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.
// 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>
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()
{