2 20090527-1.c from the execute part of the gcc torture tests.
11 typedef enum { POSITION_ASIS
, POSITION_UNSPECIFIED
} unit_position
;
13 typedef enum { STATUS_UNKNOWN
, STATUS_UNSPECIFIED
} unit_status
;
17 unit_position position
;
21 extern void abort (void);
24 new_unit (unit_flags
* flags
)
26 if (flags
->status
== STATUS_UNSPECIFIED
)
27 flags
->status
= STATUS_UNKNOWN
;
29 if (flags
->position
== POSITION_UNSPECIFIED
)
30 flags
->position
= POSITION_ASIS
;
32 switch (flags
->status
)
43 testTortureExecute (void)
46 f
.status
= STATUS_UNSPECIFIED
;