2 bug-2776.c. Originally a segfault on trying to pass an array element as variable argument struct parameter.
3 Later a iCode generation issue for pdk that triggered an assertion in codegen (when trying
4 to pass an array element of size 1 as a variable argument struct parameter).
9 #pragma disable_warning 283
10 #pragma disable_warning 278
28 f (3, x
[0], x
[1], x
[2], (long) 123);
38 x
= va_arg (args
, struct tiny
);
40 x
= va_arg (args
, struct tiny
);
42 x
= va_arg (args
, struct tiny
);
45 ASSERT (va_arg (args
, long) == 123);
53 #ifndef __OpenBSD__ // Known to fail on OpenBSD 7.3 powerpc64 (don't know for other OpenBSD versions or archs) reported to OpenBSD.