Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
ext
/
builtin11.C
blob: 2749671fb324d0a05c22cbe7cf6e0a05e3394107 [
file
] [
log
] [
blame
]
// PR c++/40138
// { dg-options "-Wall" }
void
foo
(
int
i
,
...)
{
V v
;
// { dg-error "not declared|expected" }
__builtin_va_start
(
v
,
i
);
// { dg-error "not declared" }
i
=
__builtin_va_arg
(
v
,
int
);
}