1 // { dg-do assemble  }
2 // Test that pushing into a namespace for a definition doesn't affect
3 // template instantiations.
4 
5 
6 namespace N {
f()7   template <class T> void f () { }
8   template <class T> struct A { friend void f<T>(); };
9 }
10 
11 namespace M {
12   struct B;
13 }
14 
15 struct M::B: public N::A<int> { };
16