1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/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;
}