| 1 |
/* CTF String Table as generated by the compiler is expected to have only a |
| 2 |
single empty string. Just an optimization by the compiler, it is not |
| 3 |
mandated by the CTF format. */ |
| 4 |
|
| 5 |
/* { dg-do compile } */ |
| 6 |
/* { dg-options "-O0 -gctf -dA" } */ |
| 7 |
/* { dg-final { scan-assembler-times "ascii \".0\"\[\t \]+\[^\n\]*ctf_string" 1 } } */ |
| 8 |
|
| 9 |
union wait |
| 10 |
{ |
| 11 |
int w_status; |
| 12 |
struct |
| 13 |
{ |
| 14 |
int __w_termsig; |
| 15 |
int __w_coredump; |
| 16 |
} __wait_terminated; |
| 17 |
struct |
| 18 |
{ |
| 19 |
int __w_stopval; |
| 20 |
int __w_stopsig; |
| 21 |
} __wait_stopped; |
| 22 |
}; |
| 23 |
|
| 24 |
typedef union { union wait * __uptr; int * iptr; } __WAIT_STATUS; |
| 25 |
|
| 26 |
__WAIT_STATUS waitstatus; |