llvm-6502/test/FrontendC/2004-02-13-IllegalVararg.c
2008-06-16 09:38:23 +00:00

14 lines
197 B
C

// RUN: %llvmgcc -xc %s -w -c -o - | llc
// XFAIL: *
// See PR2452
#include <stdarg.h>
float test(int X, ...) {
va_list ap;
float F;
va_start(ap, X);
F = va_arg(ap, float);
return F;
}