aboutsummaryrefslogtreecommitdiff
path: root/tests/initializer-string.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/initializer-string.c')
-rw-r--r--tests/initializer-string.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/initializer-string.c b/tests/initializer-string.c
new file mode 100644
index 0000000..c92f897
--- /dev/null
+++ b/tests/initializer-string.c
@@ -0,0 +1,4 @@
+char x[] = "hello";
+void f(void) {
+ char y[] = "hello";
+}