summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-15 17:37:35 +0000
committerChris Lattner <sabre@nondot.org>2002-12-15 17:37:35 +0000
commit0a6a6208304f4b8446d665d1dd19cde18935c7dc (patch)
tree7034fcbef8dc4635587249908778777adbef9e19
parent59e46d02483e599778e9c54bb76aa04dc25ed05c (diff)
downloadbcm5719-llvm-0a6a6208304f4b8446d665d1dd19cde18935c7dc.tar.gz
bcm5719-llvm-0a6a6208304f4b8446d665d1dd19cde18935c7dc.zip
New test to make sure I'm getting constness right
llvm-svn: 5041
-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