1 // PR c++/43705 2 3 template < typename > struct S 4 { 5 template < > struct S < int > // { dg-error "explicit|specialization|template|parameter" } 6 { 7 S(int); 8 }; 9 }; 10 11 S < int > s(0); // { dg-error "no matching" } 12