aboutsummaryrefslogtreecommitdiff
path: root/tests/initializer-unsigned-string.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-03-12 18:59:35 -0700
committerMichael Forney <mforney@mforney.org>2019-03-12 18:59:54 -0700
commit1df176029efa0d1e971e8835178f254ab8881592 (patch)
tree9049bd650243bfdfa13a2a971b74b923a3c79b13 /tests/initializer-unsigned-string.c
parentcd1c07667495e7dd991cfcd0637eddf2bb65eac9 (diff)
Allow string literals to initialize any array with character type
Diffstat (limited to 'tests/initializer-unsigned-string.c')
-rw-r--r--tests/initializer-unsigned-string.c1
1 files changed, 1 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";