aboutsummaryrefslogtreecommitdiff
path: root/test/sizeof-postfix.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/sizeof-postfix.qbe')
-rw-r--r--test/sizeof-postfix.qbe8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/sizeof-postfix.qbe b/test/sizeof-postfix.qbe
new file mode 100644
index 0000000..d9eedd8
--- /dev/null
+++ b/test/sizeof-postfix.qbe
@@ -0,0 +1,8 @@
+export
+function w $f() {
+@start.1
+@body.2
+ %.1 =w copy 4
+ ret %.1
+}
+export data $x = align 4 { z 4 }