struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug1721024.c
blob1035aa779da8f194426ad7a0098455878b6cd74d
1 /*
2 bug 1721024
3 */
5 #include <testfwk.h>
7 static unsigned char temp1;
8 static unsigned char temp2;
10 void tst(unsigned long acc)
12 UNUSED(acc);
13 temp1--;
14 if (temp1==0)
16 temp2=0;
20 void
21 testBug(void)
23 temp1 = 1;
24 temp2 = 2;
25 tst(0xFFFFFFFF); //make sure acc!=0
26 ASSERT(temp2 == 0);