1/* PR target/38123 */ 2 3#include <stdarg.h> 4 5struct S { int i; double d; }; 6 7struct S 8test (char *x, va_list ap) 9{ 10 struct S s; 11 s = va_arg (ap, struct S); 12 return s; 13} 14