Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
va-arg1.C
blob: c0477adcb76a4f76e808b80cb13a6071d1d1b977 [
file
] [
log
] [
blame
]
// PR c++/33462
struct
A
{};
void
foo
()
{
++
__builtin_va_arg
(
0
,
A
);
// { dg-error "operand type is 'A'" "" {target *-*-*} "7" }
// { dg-error "first argument to 'va_arg' not of type 'va_list'" "" {target *-*-*} "7" }
}