llvm-6502/test/C++Frontend/2003-05-14-array-init.cpp
Chris Lattner 6200a577c7 New testcase that breaks CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6217 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 21:08:04 +00:00

11 lines
173 B
C++

#include <stdio.h>
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 };