struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug3482217.c
blobdb3ce0696186a74dbd676c5ac07287717a45a812
1 /*
2 bug3482217.c
3 */
5 #include <testfwk.h>
7 unsigned char *p;
9 void f()
11 *p++ = 0;
14 void testBug(void)
16 unsigned char a[2];
17 p = a;
18 f();
19 ASSERT(p == a + 1);