aboutsummaryrefslogtreecommitdiffstats
path: root/test/regression/init3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression/init3.c')
-rw-r--r--test/regression/init3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regression/init3.c b/test/regression/init3.c
new file mode 100644
index 00000000..00a36e28
--- /dev/null
+++ b/test/regression/init3.c
@@ -0,0 +1,6 @@
+/* Warning, not error */
+
+#define NULL ((void *) 0)
+
+char x = NULL;
+int t[2] = { NULL, NULL };