aboutsummaryrefslogtreecommitdiff
path: root/test/const-array.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'test/const-array.qbe')
-rw-r--r--test/const-array.qbe10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/const-array.qbe b/test/const-array.qbe
new file mode 100644
index 0000000..8648976
--- /dev/null
+++ b/test/const-array.qbe
@@ -0,0 +1,10 @@
+export
+function $f(l %.1) {
+@start.1
+ %.2 =l alloc8 8
+ storel %.1, %.2
+@body.2
+ %.3 =l extsw 0
+ storel %.3, %.2
+ ret
+}