1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CFrontend/2004-02-13-IllegalVararg.c.tr
2007-01-17 07:59:14 +00:00

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;
}