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