Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5696.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
var-args1.C
blob: 9bd84a7dd55ae934e03288cd3f7c9da45699df28 [
file
] [
log
] [
blame
] [
edit
]
/* { dg-do compile } */
#include
<stdarg.h>
void
foo
(
int
,
...)
{
va_list va
;
int
i
;
i
=
va_arg
(
va
,
int
&);
/* { dg-error "cannot receive objects" } */
}