| 1 |
// { dg-do assemble } |
| 2 |
// PRMS Id: 5070 (testcase 1) |
| 3 |
|
| 4 |
struct foo { |
| 5 |
foo(int x = 0) {} |
| 6 |
int IsAlive(void) { return 1; } |
| 7 |
}; |
| 8 |
|
| 9 |
struct xx { |
| 10 |
int IsOk(int X); |
| 11 |
foo a; |
| 12 |
}; |
| 13 |
|
| 14 |
int xx::IsOk(int X) |
| 15 |
{ |
| 16 |
return ((xx::a).IsAlive()); // { dg-bogus "" } |
| 17 |
} |