mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-25 14:32:53 +00:00
12 lines
168 B
C
12 lines
168 B
C
|
// 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;
|
||
|
}
|