aboutsummaryrefslogtreecommitdiff
path: root/tests/local-align.qbe
diff options
context:
space:
mode:
Diffstat (limited to 'tests/local-align.qbe')
-rw-r--r--tests/local-align.qbe7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/local-align.qbe b/tests/local-align.qbe
index bc3b85c..c789d88 100644
--- a/tests/local-align.qbe
+++ b/tests/local-align.qbe
@@ -3,5 +3,12 @@ function $f() {
@start.1
%.1 =l alloc16 4
@body.2
+ storeb 0, %.1
+ %.2 =l add %.1, 1
+ storeb 0, %.2
+ %.3 =l add %.1, 2
+ storeb 0, %.3
+ %.4 =l add %.1, 3
+ storeb 0, %.4
ret
}