2 pr64979.c from the execute part of the gcc torture tests.
9 #pragma disable_warning 93
16 #ifndef __SDCC_pdk14 // Lack of memory
18 bar (int x
, va_list *ap
)
24 for (i
= 0; i
< 10; i
++)
25 ASSERT (i
== va_arg (*ap
, int));
26 ASSERT (va_arg (*ap
, double) == 0.5);
38 bar (x
, (va_list *) ((n
== 0) ? ((void *) 0) : &ap
));
44 testTortureExecute (void)
46 #ifndef __SDCC_pdk14 // Lack of memory
47 foo (100, 1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0.5);