aboutsummaryrefslogtreecommitdiff
path: root/test/struct-passing-call.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/struct-passing-call.qbe')
-rw-r--r--test/struct-passing-call.qbe9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/struct-passing-call.qbe b/test/struct-passing-call.qbe
new file mode 100644
index 0000000..1c5e623
--- /dev/null
+++ b/test/struct-passing-call.qbe
@@ -0,0 +1,9 @@
+type :s.1 = { w, }
+export
+function $g() {
+@start.1
+@body.2
+ call $f(:s.1 $s)
+ ret
+}
+export data $s = align 4 { z 4 }