FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / template16.C
blob9d5367995cf2ee419aedf1172d28409d123142a8
1 // Test that pushing into a namespace for a definition doesn't affect
2 // template instantiations.
4 // Build don't link:
6 namespace N {
7   template <class T> void f () { }
8   template <class T> struct A { friend void f<T>(); };
11 namespace M {
12   struct B;
15 struct M::B: public N::A<int> { };