Commit b1ce66fa by Jason Merrill

* g++.dg/template/crash126.C: Second error doesn't apply to C++17.

From-SVN: r247840
parent 8e5f30dc
...@@ -9,5 +9,5 @@ template < class T, class > struct A ...@@ -9,5 +9,5 @@ template < class T, class > struct A
void f () void f ()
{ {
A < int, int > (A < int, int >()); // { dg-error "cannot bind" } A < int, int > (A < int, int >()); // { dg-error "cannot bind" "" { target c++14_down } }
} }
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