struct / union in initializer, RFE #901.
[sdcc.git] / sdcc / support / regression / tests / bug-435214.c
blobae4f2441c3320adfdc1b2f8ea28cfcde3b1aa1c7
1 /* bug-435214.c
2 */
3 #include <testfwk.h>
5 unsigned long divide(long a)
7 return a/512ul;
10 void
11 testDivide(void)
13 ASSERT(divide(1300) == 2);
14 ASSERT(divide(0x12345678) == 0x91A2B);