Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.gb/scope04.C

raw
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 };
9
10 struct b {
11 int foo (int x) { return c::d::foo (x); }
12 };
13 };
14
15 int a::c::d::foo (int) { return 0; }