7024a271db822c53cb4b7ceda8a0c03ddc3e9237
[fw/sdcc] / support / regression / tests / bug1399290.c
1 /* bug1399290.c\r
2  */\r
3 #include <testfwk.h>\r
4 \r
5 unsigned long Left = 0x12345678;\r
6 \r
7 void\r
8 testLongPlus(void)\r
9 {\r
10         static unsigned long Result;\r
11         static unsigned long Rhs = 0x87654321;\r
12         static unsigned long *Lhs = &Left;\r
13 \r
14         Result = *Lhs + Rhs;\r
15         ASSERT (Result == 0x99999999);\r
16 }\r