aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CFrontend/2002-12-15-GlobalConstantTest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2002-12-15-GlobalConstantTest.c b/test/CFrontend/2002-12-15-GlobalConstantTest.c
new file mode 100644
index 0000000000..3b17941a73
--- /dev/null
+++ b/test/CFrontend/2002-12-15-GlobalConstantTest.c
@@ -0,0 +1,6 @@
+
+const char *W = "foo";
+const int X = 7;
+int Y = 8;
+const char * const Z = "bar";
+