struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug1185672.c
blob7d0bfb27ea1d2cfb26bf372074da97d1b2ada631
1 /*
2 bug1057979.c
3 */
5 #include <testfwk.h>
7 int srlen;
9 int l_regrd(int ad)
11 return ad;
14 void head_send(int i)
16 srlen= i;
17 if ((l_regrd(0x1234) & 0x0200) == 0)
19 srlen= 0;
23 void
24 test_1185672(void)
26 head_send(1);
27 ASSERT( srlen == 1 );