2 #include "compat-common.h"
3 #include "mixed-struct-defs.h"
4 #include "mixed-struct-check.h"
12 #define T(NAME, FIELDS, TYPE, FIELDINIT, FIELDTEST) \
14 testva##NAME (int n, ...) \
19 struct S { FIELDS TYPE a[n]; } s; \
23 for (j = 0; j < 2; ++j) \
25 s = va_arg (ap, struct S); \
26 for (i = 0; i < n; ++i) \
27 if (s.a[i] != 12 + n - i) \
31 if (!j && va_arg (ap, int) != n) \
39 #include "struct-by-value-22_x.c"