repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-07-17 Richard Guenther <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
var-args1.C
blob
9bd84a7dd55ae934e03288cd3f7c9da45699df28
1
/* { dg-do compile } */
2
3
#include <stdarg.h>
4
5
void foo(int, ...)
6
{
7
va_list va;
8
int i;
9
i = va_arg(va, int&); /* { dg-error "cannot receive objects" } */
10
}
11