| 1 |
void abort (void); |
| 2 |
void exit (int); |
| 3 |
|
| 4 |
struct s { _Complex unsigned short x; }; |
| 5 |
struct s gs = { 100 + 200i }; |
| 6 |
struct s __attribute__((noinline)) foo (void) { return gs; } |
| 7 |
|
| 8 |
int main () |
| 9 |
{ |
| 10 |
if (foo ().x != gs.x) |
| 11 |
abort (); |
| 12 |
exit (0); |
| 13 |
} |