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