llvm-6502/test/FrontendC/2010-06-11-SaveExpr.c
Stuart Hastings 12b8bc1b01 Test case for Radar 8004649.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105949 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-14 18:37:04 +00:00

9 lines
133 B
C

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