llvm-6502/test/FrontendC/2004-02-13-IllegalVararg.c

14 lines
197 B
C

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