OSDN Git Service

PR c++/9335
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / lookup5.C
1 // PR c++/13925
2
3 namespace N {
4   template <class T> void f(T);
5
6   namespace M {
7     class A {
8       friend void f<int>(int);
9     };
10   }
11
12   template <class T> void f(T) {}
13   template <> void f<int>(int )
14   { 
15     f<long>(0);
16   }
17 }