2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.gb / scope04.C
blob29e0dffeaf053063795c453b56c547f7cb054f67
1 // { dg-do assemble  }
2 // GROUPS passed gb scope
3 struct a {
4   struct c {
5     struct d {
6       static int foo (int);
7     };
8   };
10   struct b {
11     int foo (int x) { return c::d::foo (x); }
12   };
15 int a::c::d::foo (int) { return 0; }