Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.brendan / visibility5.C
blobf43b2501cce7fc9995bbed1f26d50aabdc0c14f6
1 // { dg-do assemble  }
2 // GROUPS passed visibility
3 template<int K> class B;
4 template<int K> class A {int n; friend class B<K>;};
5 template<int K> class B {public: void method(A<K>) const;};
6 template<int K> void B<K>::method(A<K> X) const {X.n=0;}
7 typedef B<2> B2;
8