aboutsummaryrefslogtreecommitdiff
path: root/test/struct-passing.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/struct-passing.qbe')
-rw-r--r--test/struct-passing.qbe8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/struct-passing.qbe b/test/struct-passing.qbe
new file mode 100644
index 0000000..07bd483
--- /dev/null
+++ b/test/struct-passing.qbe
@@ -0,0 +1,8 @@
+type :.2 = { b 3, h, }
+type :s.1 = { w, :.2 2, d, }
+export
+function $f(:s.1 %.1) {
+@start.1
+@body.2
+ ret
+}