summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c b/llvm/test/Regression/CFrontend/2002-12-15-GlobalConstantTest.c
new file mode 100644
index 00000000000..3b17941a73e
--- /dev/null
+++ b/llvm/test/Regression/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";
+
OpenPOWER on IntegriCloud