mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 16:35:10 +00:00
New testcase that breaks CFE
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1b2bde9651
commit
6200a577c7
10
test/C++Frontend/2003-05-14-array-init.cpp
Normal file
10
test/C++Frontend/2003-05-14-array-init.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#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 };
|
Loading…
x
Reference in New Issue
Block a user