2 921029-1.c from the execute part of the gcc torture suite.
11 // TODO: Enable when sdcc supports long long in these ports!
12 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
13 typedef unsigned long long ULL
;
22 lpart
&= 0xFFFFFFFFLL
;
29 testTortureExecute (void)
31 #if !defined(__SDCC_pdk14) // Lack of memory
32 if (build(0, 1) != 0x0000000000000001LL
)
34 if (build(0, 0) != 0x0000000000000000LL
)
36 if (build(0, 0xFFFFFFFF) != 0x00000000FFFFFFFFLL
)
38 if (build(0, 0xFFFFFFFE) != 0x00000000FFFFFFFELL
)
40 if (build(1, 1) != 0x0000000100000001LL
)
42 if (build(1, 0) != 0x0000000100000000LL
)
44 if (build(1, 0xFFFFFFFF) != 0x00000001FFFFFFFFLL
)
46 if (build(1, 0xFFFFFFFE) != 0x00000001FFFFFFFELL
)
48 if (build(0xFFFFFFFF, 1) != 0xFFFFFFFF00000001LL
)
50 if (build(0xFFFFFFFF, 0) != 0xFFFFFFFF00000000LL
)
52 if (build(0xFFFFFFFF, 0xFFFFFFFF) != 0xFFFFFFFFFFFFFFFFLL
)
54 if (build(0xFFFFFFFF, 0xFFFFFFFE) != 0xFFFFFFFFFFFFFFFELL
)