From: Chris Lattner Date: Wed, 14 May 2003 21:08:04 +0000 (+0000) Subject: New testcase that breaks CFE X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6200a577c7ac8c49ba1dd7b77555ca556c56c249;p=oota-llvm.git New testcase that breaks CFE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6217 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/C++Frontend/2003-05-14-array-init.cpp b/test/C++Frontend/2003-05-14-array-init.cpp new file mode 100644 index 00000000000..56a7f282575 --- /dev/null +++ b/test/C++Frontend/2003-05-14-array-init.cpp @@ -0,0 +1,10 @@ +#include + +extern int table[]; + +int main() { + printf("%d %d %d %d\n", table[0], table[1], table[2], table[3]); + return table[1]; +} + +int table[] = { 1, 0, 3, 4 };