projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix PR numbers, I accidentally switched two digits.
[oota-llvm.git]
/
test
/
FrontendC
/
2004-02-13-IllegalVararg.c
1
// RUN: %llvmgcc -xc %s -w -c -o - | llc
2
// XFAIL: *
3
// See PR2452
4
5
#include <stdarg.h>
6
7
float test(int X, ...) {
8
va_list ap;
9
float F;
10
va_start(ap, X);
11
F = va_arg(ap, float);
12
return F;
13
}