2 991216-2.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 184
12 // Some ports do not support long long yet.
13 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16)
17 #define VALUE 0x123456789abcdefLL
27 for (i
= 2; i
<= n
; i
++)
29 if (va_arg (ap
, int) != i
)
33 if (va_arg (ap
, long long) != VALUE
)
36 if (va_arg (ap
, int) != AFTER
)
44 testTortureExecute (void)
46 #if !defined(__SDCC_pic14) && !defined(__SDCC_pic16) && !defined(__SDCC_pdk13) && !defined(__SDCC_pdk14) // Lack of memory.
47 test (1, VALUE
, AFTER
);
48 test (2, 2, VALUE
, AFTER
);
49 test (3, 2, 3, VALUE
, AFTER
);
50 test (4, 2, 3, 4, VALUE
, AFTER
);
51 #if !defined(__SDCC_pdk15) // Lack of memory.
52 test (5, 2, 3, 4, 5, VALUE
, AFTER
);
53 test (6, 2, 3, 4, 5, 6, VALUE
, AFTER
);
54 test (7, 2, 3, 4, 5, 6, 7, VALUE
, AFTER
);
55 test (8, 2, 3, 4, 5, 6, 7, 8, VALUE
, AFTER
);