Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/temp-va-arg-bug.C

raw
1 // { dg-do compile { target c++11 } }
2 // { dg-options "-Wno-abi" { 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 }