2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / access24.C
blobe633766acd0d0fcdba189908ceb0944ab3f04501
1 // { dg-do assemble  }
2 // Bug: forward reference to friend doesn't work in template.
4 template <class T> class A {
5   static int i;
6   friend struct B;
7 };
9 struct B {
10   void f () { A<int>::i = 0; }