FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / offset1.C
blobd4fd38b70dc0c58e559e59c004a0afba57952604
1 // PRMS Id: 5070 (testcase 1)
2 // Build don't link:
4 struct foo {
5   foo(int x = 0) {};
6   int IsAlive(void) { return 1; }
7 };
9 struct xx {
10   int IsOk(int X);
11   foo a;
14 int xx::IsOk(int X)
16   return ((xx::a).IsAlive());   // gets bogus error