blob: 1f3eded0cdceb39e446877f4ee8b148a1146012c [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001// RUN: %llvmgcc -xc %s -c -o - | llc
2
3#include <stdarg.h>
4
5float 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}