For PR1338: Rename test dirs
[oota-llvm.git] / test / FrontendC / 2004-02-13-IllegalVararg.c
1 // RUN: %llvmgcc -xc %s -c -o - | llc
2
3 #include <stdarg.h>
4
5 float test(int X, ...) {
6   va_list ap;
7   float F;
8   va_start(ap, X);
9   F = va_arg(ap, float);
10   return F;
11 }