Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
c-c++-common
/
va-arg-va-list-type.c
blob: cdd97cfb037a1954efd4cfcfa22296398ac07f23 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
__builtin_va_list
*
pap
;
void
fn1
(
void
)
{
__builtin_va_arg
(
pap
,
double
);
/* { dg-error "first argument to 'va_arg' not of type 'va_list'" } */
}