repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
2004-02-13-IllegalVararg.c
blob
9a2d286b777666e075cf2370930a13b4fc28380d
1
// RUN: %clang_cc1 %s -w -emit-llvm -o -
2
3
// https://bugs.llvm.org/show_bug.cgi?id=46644#c6
4
// XFAIL: target=arm64-apple-{{.*}}
5
6
float
test
(
int
X
, ...) {
7
__builtin_va_list ap
;
8
float
F
;
9
__builtin_va_start
(
ap
,
X
);
10
F
=
__builtin_va_arg
(
ap
,
float
);
11
return
F
;
12
}