[31/77] Use scalar_int_mode for move2add
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.jason / offset1.C
bloba918baab8d196529781b4b5a260e61faf585c0de
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 "" }