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
2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr17301-1.c
blob
28968fbb2b39705b82d943afae93fecedb34241e
1
/* Invalid use of __builtin_va_start should not cause an ICE. Bug
2
17301. */
3
/* { dg-do compile } */
4
/* { dg-options "" } */
5
6
int
7
write_format
(
char
*
format
, ...)
8
{
9
__builtin_va_list p
;
10
__builtin_va_start
(
p
);
/* { dg-error "too few arguments to function 'va_start'" } */
11
}