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
re PR c++/70808 (Spurious -Wzero-as-null-pointer-constant for nullptr_t)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
warn
/
var-args1.C
blob
35deb096a6575617f9e80baa429b0dfad2be58e8
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" } */
10
}
11