repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix PR4948 (and a leak): by not destroying the DwarfException
[llvm/avr.git]
/
test
/
FrontendC
/
2005-01-02-VAArgError-ICE.c
blob
db8255846274774bab1dda3b3bea9038685b83fc
1
// This file is erroneous, but should not cause the compiler to ICE.
2
// PR481
3
// RUN: %llvmgcc %s -S -o /dev/null |& not grep {internal compiler error}
4
5
#include <stdarg.h>
6
int
flags
(
int
a
,
int
b
, ...) {
7
va_list
args
;
8
va_start
(
args
,
a
);
// not the last named arg
9
foo
(
args
);
10
}