mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 00:32:23 +00:00
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;
|
||
|
}
|