// { dg-do compile } // Origin: // Bug: ICE during invalid instantiation of member function // which enclosing class is specialized. template struct A { void f(T) {} }; template<> struct A { void f(int) {} }; template void A::f(int); // { dg-error "not match" }