Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
24541a6b4a96a6e4fc5dfd45854d317c0e27c185
/
.
/
test
/
FrontendC
/
2004-02-13-IllegalVararg.c
blob: 1f3eded0cdceb39e446877f4ee8b148a1146012c [
file
] [
log
] [
blame
]
Dan Gohman
f17a25c
2007-07-18 16:29:46 +0000
[
diff
] [
blame
]
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
}