Test case for Radar 8004649.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Stuart Hastings 2010-06-14 18:37:04 +00:00
parent 754f680c1f
commit 12b8bc1b01

View File

@ -0,0 +1,8 @@
// RUN: %llvmgcc -S %s
// Test case by Eric Postpischil!
void foo(void)
{
char a[1];
int t = 1;
((char (*)[t]) a)[0][0] = 0;
}