aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/initializer-unsigned-string.c1
-rw-r--r--tests/initializer-unsigned-string.qbe1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/initializer-unsigned-string.c b/tests/initializer-unsigned-string.c
new file mode 100644
index 0000000..a932889
--- /dev/null
+++ b/tests/initializer-unsigned-string.c
@@ -0,0 +1 @@
+unsigned char s[] = "abc";
diff --git a/tests/initializer-unsigned-string.qbe b/tests/initializer-unsigned-string.qbe
new file mode 100644
index 0000000..46be123
--- /dev/null
+++ b/tests/initializer-unsigned-string.qbe
@@ -0,0 +1 @@
+export data $s = align 1 { b "abc", z 1, }