FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.gb / scope04.C
blobf63775bdb492dd8e75aaa2ef49dd11a65e11fe4b
1 // Build don't link: 
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; }