2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.ns / template16.C
blobc07cb4486208dd51652743c52c015a28e45ed2d5
1 // { dg-do assemble  }
2 // Test that pushing into a namespace for a definition doesn't affect
3 // template instantiations.
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> { };