2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / offset1.C
blob51137c11f6fafb41ade8c53665e723372c83f976
1 // { dg-do assemble  }
2 // PRMS Id: 5070 (testcase 1)
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());   // { dg-bogus "" }