OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / cpp0x / temp-va-arg-bug.C
1 // { dg-options "--std=c++0x" }
2 // { dg-options "-Wno-abi --std=c++0x" { target arm_eabi } }
3 #include <stdarg.h>
4
5 struct S { };
6 void f(S const &);
7
8 void g(va_list args)
9 {
10   f(va_arg(args, S));
11 }