diff options
Diffstat (limited to 'test/varargs+riscv64.qbe')
-rw-r--r-- | test/varargs+riscv64.qbe | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/varargs+riscv64.qbe b/test/varargs+riscv64.qbe index 48638bb..1b0851e 100644 --- a/test/varargs+riscv64.qbe +++ b/test/varargs+riscv64.qbe @@ -49,3 +49,14 @@ function $f3(w %.1, ...) { %.10 =l loadl %.3 ret } +export +function $f4(...) { +@start.10 + %.1 =l alloc8 8 +@body.11 + vastart %.1 + %.2 =d vaarg %.1 + %.3 =w vaarg %.1 + %.4 =l loadl %.1 + ret +} |