// { dg-do compile } // Origin: ajl13@bellatlantic.net // PR c++/5421: ICE for specialization of member function template // as friend. struct B { template void b(); }; template class A { friend void B::b(); }; static A a;