projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix PR4815: some cases where DeleteDeadInstruction can delete
[oota-llvm.git]
/
test
/
FrontendC
/
2005-01-02-VAArgError-ICE.c
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
}