// { dg-do compile } // Origin: // Bug: Overloading of ordinary and template member function // which enclosing class is specialized is not handled correctly. template struct A { void f(T) {} }; template<> struct A { void f(int) {} template void f(T) {} }; template void A::f(int);