| 1 |
/* { dg-do compile } */ |
| 2 |
|
| 3 |
struct S { int s; }; |
| 4 |
|
| 5 |
void |
| 6 |
foo (void) |
| 7 |
{ |
| 8 |
for (;;) |
| 9 |
; |
| 10 |
} |
| 11 |
|
| 12 |
struct S |
| 13 |
bar (void) |
| 14 |
{ |
| 15 |
struct S s = { 99 }; |
| 16 |
return s; |
| 17 |
} |
| 18 |
|
| 19 |
void |
| 20 |
baz (int i) |
| 21 |
{ |
| 22 |
struct S s[1]; |
| 23 |
s[0] = bar (); |
| 24 |
bar (); |
| 25 |
foo (); |
| 26 |
} |
| 27 |
|