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