aboutsummaryrefslogtreecommitdiff
path: root/test/initializer-address-subtract.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-29 15:03:15 -0700
committerMichael Forney <mforney@mforney.org>2021-09-29 15:04:44 -0700
commite36dc296f50cb2d60d3b27ce62217762b9655313 (patch)
tree91c5e1d3ede6ae92d2310866c2f71db28c840a2f /test/initializer-address-subtract.qbe
parent8a08b602e30054c283adb8fc1a4077aaf99efbca (diff)
eval: Allow subtraction in address constants
Diffstat (limited to 'test/initializer-address-subtract.qbe')
-rw-r--r--test/initializer-address-subtract.qbe2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/initializer-address-subtract.qbe b/test/initializer-address-subtract.qbe
new file mode 100644
index 0000000..e6aa8cd
--- /dev/null
+++ b/test/initializer-address-subtract.qbe
@@ -0,0 +1,2 @@
+export data $p = align 8 { l $a + 4, }
+export data $a = align 4 { z 16 }