From d39dbcc743eeb3f428cc6afa96effca63e645b99 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 16 Nov 2003 20:47:05 +0000 Subject: [PATCH] New testcase, for PR 115 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10031 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-11-16-StaticArrayInit.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CFrontend/2003-11-16-StaticArrayInit.c diff --git a/test/CFrontend/2003-11-16-StaticArrayInit.c b/test/CFrontend/2003-11-16-StaticArrayInit.c new file mode 100644 index 00000000000..399b4e8a8e0 --- /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; +} + +