2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.brendan / nest11.C
blob0c6d475de353a6916f501acf49b97fdb117092c0
1 // { dg-do assemble  }
2 // GROUPS passed nested-classes
3 class A {
4   int x;
6   struct B {
7     int x;
8   };
9   struct C;
10   friend struct C;
11   struct C {
12     int bug (A::B &y);
13   };
16 int
17 A::C::bug (A::B &y)
19   return y.x;