aboutsummaryrefslogtreecommitdiff
path: root/test/sizeof-string-literal.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-01-30 23:39:40 -0800
committerMichael Forney <mforney@mforney.org>2020-01-30 23:40:37 -0800
commit78ba6f387cddb2a9ee4f34aaef33dd080e024ce6 (patch)
treed9b5af8c9df31113853075c4eb0fa8b83a6e5459 /test/sizeof-string-literal.qbe
parent003a6cc717b12756c7f2d4ff2c757ccb8297c15c (diff)
Add test for sizeof string literal
This was regressed in d889bc80be and fixed in 090e2932ce.
Diffstat (limited to 'test/sizeof-string-literal.qbe')
-rw-r--r--test/sizeof-string-literal.qbe1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/sizeof-string-literal.qbe b/test/sizeof-string-literal.qbe
new file mode 100644
index 0000000..23be3d8
--- /dev/null
+++ b/test/sizeof-string-literal.qbe
@@ -0,0 +1 @@
+export data $x = align 4 { w 4, }