make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git] / test / FrontendC / 2004-02-13-IllegalVararg.c
blob21039c6b0fa9b93a94a656ebd711ef05cce945b4
1 // RUN: %llvmgcc -xc %s -w -c -o - | llc
2 // XFAIL: *
3 // See PR2452
5 #include <stdarg.h>
7 float test(int X, ...) {
8 va_list ap;
9 float F;
10 va_start(ap, X);
11 F = va_arg(ap, float);
12 return F;