struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-920604-1.c
blob05d418a8e599f7d9359c9a3d049a2c7ec0e8ba5c
1 /*
2 920604-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 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
12 long long
13 mod (long long a, long long b)
15 return a % b;
17 #endif
19 void
20 testTortureExecute (void)
22 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk14)
23 ASSERT (mod (1LL, 2LL) == 1);
24 #endif