struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-2381.c
blob49d610f34f99c9c9b670b9966e35fa7aff1f1863
1 /*
2 bug-2381.c
3 */
5 #include <testfwk.h>
7 #pragma disable_warning 88
9 #define VAL 0x5555
11 void foo(char *p)
13 ASSERT (p == (char *) VAL);
16 void testBug(void)
18 foo (&(*((char *) VAL)));
19 foo (&(*(&(*((char *) VAL)))));