2 va-arg-13.c from the execute part of the gcc torture tests.
7 /* derived from mozilla source code */
17 void dummy (va_list vap
)
19 if (va_arg (vap
, int) != 1234) ASSERT(0);
23 void test (int fmt
, ...)
25 ScanfState state
, *statep
;
29 va_start (statep
->ap
, fmt
);
33 va_start (state
.ap
, fmt
);
41 testTortureExecute (void)
43 #ifndef __SDCC_ds390 // Bug #2779