2 va-arg-4.c from the execute part of the gcc torture tests.
7 /* On the i960 any arg bigger than 16 bytes causes all subsequent args
8 to be passed on the stack. We test this. */
17 f (big x
, char *s
, ...)
21 if (x
.a
[0] != 'a' || x
.a
[1] != 'b' || x
.a
[2] != 'c')
24 if (va_arg (ap
, int) != 42)
26 if (va_arg (ap
, int) != 'x')
28 if (va_arg (ap
, int) != 0)
34 testTortureExecute (void)
36 static big x
= { "abc" };
38 f (x
, "", 42, 'x', 0);