aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr38123.c
blob: b36ad118f4508717b8b82662b570e6d086f9cde1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/38123 */

#include <stdarg.h>

struct S { int i; double d; };

struct S
test (char *x, va_list ap)
{
  struct S s;
  s = va_arg (ap, struct S);
  return s;
}