3 // regression testing program for comparing longs
6 #define COMPARE_OUT_OF_RANGE 1
8 unsigned char success = 0;
9 unsigned char failures = 0;
10 unsigned char dummy = 0;
19 unsigned long ulong0 = 0;
20 unsigned long ulong1 = 0;
161 // compare to 0x20000
172 if(ulong0 != 0x20000)
178 if(ulong1 == 0x20000)
224 #ifdef COMPARE_OUT_OF_RANGE
247 #ifdef COMPARE_OUT_OF_RANGE
276 #ifdef COMPARE_OUT_OF_RANGE
277 if(int0 == 0x1234abcd)
283 // assumes char1 == 0
296 // assumes char0 = -1
316 // long0 = long1 = ulong0 = ulong1 == 0
318 void c_long2long_eq(void)
344 // long0 = ulong0 == 0
345 // long1 = ulong1 == 1
347 void c_long2long_neq(void)