struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug1399290.c
blobd8847781e696618e6c2aeb10bac53417e9885fcd
1 /* bug1399290.c
2 */
3 #include <testfwk.h>
5 unsigned long Left = 0x12345678;
7 void
8 testLongPlus(void)
10 static unsigned long Result;
11 static unsigned long Rhs = 0x87654321;
12 static unsigned long *Lhs = &Left;
14 Result = *Lhs + Rhs;
15 ASSERT (Result == 0x99999999);