2 #include "compat-common.h"
3 #include "mixed-struct-defs.h"
4 #include "mixed-struct-check.h"
12 #ifndef SKIP_VLA_IN_STRUCT
13 #define T(NAME, FIELDS, TYPE, FIELDINIT, FIELDTEST) \
15 testva##NAME (int n, ...) \
20 struct S { FIELDS TYPE a[n]; } s; \
24 for (j = 0; j < 2; ++j) \
26 s = va_arg (ap, struct S); \
27 for (i = 0; i < n; ++i) \
28 if (s.a[i] != 12 + n - i) \
32 if (!j && va_arg (ap, int) != n) \
40 #include "struct-by-value-22_x.c"