struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-20120111-1.c
blob7a197456e2c998643d77b62878443b577cdf5945
1 /*
2 20120111-1.c from the execute part of the gcc torture suite.
3 */
5 #include <testfwk.h>
7 #ifdef __SDCC
8 #pragma std_c99
9 #endif
11 #include <stdlib.h>
12 #include <stdint.h>
14 uint32_t f0a (uint64_t arg2);
16 uint32_t
17 f0a (uint64_t arg)
19 return ~((unsigned) (arg > -3));
22 void
23 testTortureExecute (void)
25 uint32_t r1;
26 r1 = f0a (12094370573988097329ULL);
27 if (r1 != ~0U)
28 ASSERT(0);