Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
var-args1.C
blob: 35deb096a6575617f9e80baa429b0dfad2be58e8 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
#include
<stdarg.h>
void
foo
(
int
,
...)
{
va_list va
;
int
i
;
i
=
va_arg
(
va
,
int
&);
/* { dg-error "cannot receive" } */
}