struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-950503-1.c
blobb3d46b03ff6e2628e8267c5d6a3d1c4231abb529
1 /*
2 950503-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 void
12 testTortureExecute (void)
14 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
15 int tmp;
16 unsigned long long utmp1, utmp2;
18 tmp = 16;
20 utmp1 = (~((unsigned long long) 0)) >> tmp;
21 utmp2 = (~((unsigned long long) 0)) >> 16;
23 if (utmp1 != utmp2)
24 ASSERT (0);
25 return;
26 #endif