mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
4572ce85b0
llvm-svn: 33296
12 lines
168 B
Plaintext
12 lines
168 B
Plaintext
// RUN: %llvmgcc -xc %s -c -o - | llc
|
|
|
|
#include <stdarg.h>
|
|
|
|
float test(int X, ...) {
|
|
va_list ap;
|
|
float F;
|
|
va_start(ap, X);
|
|
F = va_arg(ap, float);
|
|
return F;
|
|
}
|