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