repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Really use attribute.
[llvm-complete.git]
/
test
/
CFrontend
/
2004-02-13-IllegalVararg.c.tr
blob
1f3eded0cdceb39e446877f4ee8b148a1146012c
1
// RUN: %llvmgcc -xc %s -c -o - | llc
2
3
#include <stdarg.h>
4
5
float test(int X, ...) {
6
va_list ap;
7
float F;
8
va_start(ap, X);
9
F = va_arg(ap, float);
10
return F;
11
}