Home | History | Annotate | Download | only in FrontendC
      1 // RUN: %llvmgcc -xc %s -w -S -o - | llc
      2 // XFAIL: *
      3 // See PR2452
      4 
      5 #include <stdarg.h>
      6 
      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;
     13 }
     14