summaryrefslogtreecommitdiff
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-16 20:47:05 +0000
committerChris Lattner <sabre@nondot.org>2003-11-16 20:47:05 +0000
commitd39dbcc743eeb3f428cc6afa96effca63e645b99 (patch)
treece62e8aa9c3d2a4136c746a20d3f29f226151428 /test/CFrontend
parentba46d555e76629cb8d6b8795a4f71979a4c1fc18 (diff)
downloadllvm-d39dbcc743eeb3f428cc6afa96effca63e645b99.tar.gz
llvm-d39dbcc743eeb3f428cc6afa96effca63e645b99.tar.bz2
llvm-d39dbcc743eeb3f428cc6afa96effca63e645b99.tar.xz
New testcase, for PR 115
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2003-11-16-StaticArrayInit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CFrontend/2003-11-16-StaticArrayInit.c b/test/CFrontend/2003-11-16-StaticArrayInit.c
new file mode 100644
index 0000000000..399b4e8a8e
--- /dev/null
+++ b/test/CFrontend/2003-11-16-StaticArrayInit.c
@@ -0,0 +1,6 @@
+void bar () {
+ static char x[10];
+ static char *xend = x + 10;
+}
+
+