1 /* { dg-options "-std=gnu99" } */
5 extern void abort (void);
42 static int failcnt
= 0;
44 /* Support compiling the test to report individual failures; default is
45 to abort as soon as a check fails. */
49 { printf ("failed at line %d\n", __LINE__); \
53 #define FAILURE abort ()
56 int check_var (int z
, ...)
61 va_arg (ap
, struct S1
);
62 result
= va_arg (ap
, long long);
65 return (result
== 2LL);
76 if (check_var (2, s1
, 2LL) == 0)
78 if (check_var (2, s2
, 2LL) == 0)
80 if (check_var (2, s3
, 2LL) == 0)
82 if (check_var (2, s4
, 2LL) == 0)
84 if (check_var (2, s5
, 2LL) == 0)