]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/temp-va-arg-bug.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / temp-va-arg-bug.C
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 }
This page took 0.040535 seconds and 5 git commands to generate.