New test to make sure I'm getting constness right
authorChris Lattner <sabre@nondot.org>
Sun, 15 Dec 2002 17:37:35 +0000 (17:37 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 15 Dec 2002 17:37:35 +0000 (17:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5041 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2002-12-15-GlobalConstantTest.c [new file with mode: 0644]

diff --git a/test/CFrontend/2002-12-15-GlobalConstantTest.c b/test/CFrontend/2002-12-15-GlobalConstantTest.c
new file mode 100644 (file)
index 0000000..3b17941
--- /dev/null
@@ -0,0 +1,6 @@
+
+const char *W = "foo";
+const int X = 7;
+int Y = 8;
+const char * const Z = "bar";
+