☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
temp-va-arg-bug.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/temp-va-arg-bug.C
code
plain
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
}