2 strct-stdarg-1.c from the execute part of the gcc torture tests.
26 for (i
= 0; i
< n
; i
++)
28 x
= va_arg (ap
,struct tiny
);
29 ASSERT(x
.c
== i
+ 10);
30 ASSERT(x
.d
== i
+ 20);
31 ASSERT(x
.e
== i
+ 30);
32 ASSERT(x
.f
== i
+ 40);
33 ASSERT(x
.g
== i
+ 50);
36 long x
= va_arg (ap
, long);
43 testTortureExecute (void)
61 #if 0 // TODO: Enable when bug #3365 (passign array element as struct param) is fixed
62 f (3, x
[0], x
[1], x
[2], (long) 123);