2 va-arg-19.c from the execute part of the gcc torture tests.
11 void vafunction (char *dummy
, ...)
16 if (va_arg (ap
, TYPE
) != 1)
18 if (va_arg (ap
, TYPE
) != 2)
20 if (va_arg (ap
, TYPE
) != 3)
22 if (va_arg (ap
, TYPE
) != 4)
24 if (va_arg (ap
, TYPE
) != 5)
26 if (va_arg (ap
, TYPE
) != 6)
28 if (va_arg (ap
, TYPE
) != 7)
30 if (va_arg (ap
, TYPE
) != 8)
32 if (va_arg (ap
, TYPE
) != 9)
39 testTortureExecute (void)
41 vafunction( "", 1, 2, 3, 4, 5, 6, 7, 8, 9 );