aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2007-05-11 23:13:19 +0000
committerDevang Patel <dpatel@apple.com>2007-05-11 23:13:19 +0000
commit2194ad9067fb6a42944443bb8cb455f25a6a1473 (patch)
tree5b2c3a84480835136dcec77234a259daa1d29da0
parent7d8ed8a94118ace05962e88689a4089c2f49366d (diff)
New test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36997 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CFrontend/2007-05-11-str-const.ll5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/CFrontend/2007-05-11-str-const.ll b/test/CFrontend/2007-05-11-str-const.ll
new file mode 100644
index 0000000000..48deddbb01
--- /dev/null
+++ b/test/CFrontend/2007-05-11-str-const.ll
@@ -0,0 +1,5 @@
+// RUN: %llvmgcc -c -g %s -o /dev/null
+
+static unsigned char out[]={0,1};
+static const unsigned char str1[]="1";
+