mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 17:33:24 +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;
|
|
}
|