Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" } */
}