struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-435068.c
blobf6789a4d20482b9b7315b9d3916bff97f89b469c
1 /* bug-435068.c
2 */
3 #include <testfwk.h>
5 char c, d;
7 static void
8 testQuestion(void)
10 volatile char c, d;
12 c = (0x100 & 0x100) ? 4 : 8; // ok
13 d = ((0x100 & 0x100) ? 4 : 8) + 1;
15 ASSERT(c == 4);
16 ASSERT(d == 5);