8sa1-gcc/gcc/testsuite/g++.old-deja/g++.gb/scope04.C
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

16 lines
233 B
C

// Build don't link:
// GROUPS passed gb scope
struct a {
struct c {
struct d {
static int foo (int);
};
};
struct b {
int foo (int x) { return c::d::foo (x); }
};
};
int a::c::d::foo (int) { return 0; }