struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-1493710.c
blobab5991d9ade9282593d88a8323adcae8d22d1773
1 /*
2 bug-1493710.c
4 cse
5 findPointerSet with signed/unsigned operands
6 */
8 #include <testfwk.h>
10 struct
12 unsigned char a;
13 } st = { 0xff };
15 signed char c = -1;
17 unsigned char f (void)
19 st.a += c;
20 return st.a > 8;
23 void
24 testFindPointerSet(void)
26 ASSERT(f() == 1);