mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
f6b1a51a94
llvm-svn: 52311
14 lines
197 B
C
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;
|
|
}
|