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
make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git]
/
test
/
FrontendC
/
2004-02-13-IllegalVararg.c
blob
21039c6b0fa9b93a94a656ebd711ef05cce945b4
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
}