llvm-project/llvm/test/CFrontend/2004-02-13-IllegalVararg.c.tr

12 lines
168 B
Plaintext

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