blob: 892bc45353e570eb695da3997bf8c8545d0bd1fd [file] [log] [blame]
// PR c++/80186
template < class T, class > struct A
{
A ();
A (A &);
A (A < T, T >); // { dg-error "3:invalid constructor" }
};
void f ()
{
A < int, int > (A < int, int >()); // { dg-error "cannot bind" "" { target c++14_down } }
}