Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
f17a25c88b892d30c2b41ba7ecdfbdfb2b4be9cc
/
.
/
test
/
CFrontend
/
2004-02-13-IllegalVararg.c.tr
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
}