1 // PR c++/43630 2 3 template < typename > struct A; 4 5 template < typename > struct A < int > // { dg-error "not deducible|template\\-parameter|declaration" } 6 { 7 int i; 8 int f (); 9 }; 10 11 int A < int >::f () // { dg-error "incomplete type" } 12 { 13 return i; 14 } 15