// { dg-do run } // Testcase for not trying a candidate that would generate an ill-formed // instantiation. template struct A { int ar[N]; }; template struct B { B () { } B (const A &) { } B (const A &, int); }; int main () { A<1> a; B<1> b1; B<1> b2 (a); }