5 // regression testing program for comparing longs
8 #define COMPARE_OUT_OF_RANGE 1
10 unsigned char success = 0;
11 unsigned char failures = 0;
12 unsigned char dummy = 0;
21 unsigned long ulong0 = 0;
22 unsigned long ulong1 = 0;
158 // compare to 0x20000
171 if(ulong0 != 0x20000)
177 if(ulong1 == 0x20000)
186 /* if(long0 < 0x12345)
223 #ifdef COMPARE_OUT_OF_RANGE
246 #ifdef COMPARE_OUT_OF_RANGE
275 #ifdef COMPARE_OUT_OF_RANGE
276 if(int0 == 0x1234abcd)
282 // assumes char1 == 0
295 // assumes char0 = -1
315 // long0 = long1 = ulong0 = ulong1 == 0
317 void c_long2long_eq(void)
343 // long0 = ulong0 == 0
344 // long1 = ulong1 == 1
346 void c_long2long_neq(void)