aboutsummaryrefslogtreecommitdiff
path: root/test/varargs-pass-valist+riscv64.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/varargs-pass-valist+riscv64.qbe')
-rw-r--r--test/varargs-pass-valist+riscv64.qbe9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/varargs-pass-valist+riscv64.qbe b/test/varargs-pass-valist+riscv64.qbe
new file mode 100644
index 0000000..937f50a
--- /dev/null
+++ b/test/varargs-pass-valist+riscv64.qbe
@@ -0,0 +1,9 @@
+data $.Lap.2 = align 8 { z 8 }
+export
+function $g() {
+@start.1
+@body.2
+ %.1 =l loadl $.Lap.2
+ call $f(l %.1)
+ ret
+}