From 4fed97f8016b4e2fbce3068969e2a5ca19abd47e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 15 Dec 2002 17:37:35 +0000 Subject: [PATCH] New test to make sure I'm getting constness right git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5041 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2002-12-15-GlobalConstantTest.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2002-12-15-GlobalConstantTest.c diff --git a/test/CFrontend/2002-12-15-GlobalConstantTest.c b/test/CFrontend/2002-12-15-GlobalConstantTest.c new file mode 100644 index 00000000000..3b17941a73e --- /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"; +