aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-empty-struct.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/initializer-empty-struct.qbe')
-rw-r--r--test/initializer-empty-struct.qbe8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/initializer-empty-struct.qbe b/test/initializer-empty-struct.qbe
new file mode 100644
index 0000000..9bbfb34
--- /dev/null
+++ b/test/initializer-empty-struct.qbe
@@ -0,0 +1,8 @@
+export data $s = align 8 { z 16 }
+export
+function $f() {
+@start.1
+ %.1 =l alloc8 16
+@body.2
+ ret
+}