aboutsummaryrefslogtreecommitdiff
path: root/test/varargs+aarch64.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/varargs+aarch64.qbe')
-rw-r--r--test/varargs+aarch64.qbe10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/varargs+aarch64.qbe b/test/varargs+aarch64.qbe
index 5b6e830..c444c85 100644
--- a/test/varargs+aarch64.qbe
+++ b/test/varargs+aarch64.qbe
@@ -45,3 +45,13 @@ function $f3(w %.1, ...) {
@while_join.9
ret
}
+export
+function $f4(...) {
+@start.10
+ %.1 =l alloc8 32
+@body.11
+ vastart %.1
+ %.2 =d vaarg %.1
+ %.3 =w vaarg %.1
+ ret
+}