mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
6f3ff3e34d
the input program is horribly broken (like 126.gcc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11401 91177308-0d34-0410-b5e6-96231b3b80d8
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;
|
|
}
|