Sign in
llvm
/
llvm-project
/
98dbcff19cfedb4e27d267310a76d616cd435447
/
.
/
clang
/
test
/
CodeGen
/
2004-02-13-IllegalVararg.c
blob: b3acda1f9e72fac6560b615bcdaca8d03f6f6c0c [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %s -w -emit-llvm -o -
// https://bugs.llvm.org/show_bug.cgi?id=46644#c6
// XFAIL: arm64-apple
float
test
(
int
X
,
...)
{
__builtin_va_list ap
;
float
F
;
__builtin_va_start
(
ap
,
X
);
F
=
__builtin_va_arg
(
ap
,
float
);
return
F
;
}