projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Serious cleanups. Make the TOC match the text for the class hierarchy,
[oota-llvm.git]
/
test
/
CFrontend
/
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 2>&1 | 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
}