2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.dg / template / friend21.C
blob854ed67d592f1a1fdec3fb73e3bbf120813dbcf7
1 // { dg-do compile }
3 // Origin: ajl13@bellatlantic.net
5 // PR c++/5421: ICE for specialization of member function template
6 // as friend.
8 struct B {
9   template <class T> void b();
12 template <class T> class A {
13   friend void B::b<T>();
16 static A<int> a;