struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / gcc-torture-execute-930527-1.c
blob16fbce5c0ce5ea9ff277847d96ebdd029f24159f
1 /*
2 930527-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 int f (unsigned char x)
13 return (0x50 | (x >> 4)) ^ 0xff;
16 void
17 testTortureExecute (void)
19 if (f (0) != 0xaf)
20 ASSERT (0);
21 return;