2 va-arg-18.c from the execute part of the gcc torture tests.
8 #pragma disable_warning 85
9 #pragma disable_warning 93
15 void f (L p0
, L p1
, L p2
, L p3
, L p4
, L p5
, L p6
, L p7
, L p8
, ...)
19 va_start (select
, p8
);
21 if (va_arg (select
, int) != 10)
23 if (va_arg (select
, int) != 11)
25 if (va_arg (select
, int) != 12)
32 testTortureExecute (void)
34 #ifndef __SDCC_pdk14 // Lack of memory
35 f (1., 2., 3., 4., 5., 6., 7., 8., 9., 10, 11, 12);