Merge branch 'master' into msp430
[llvm/msp430.git] / test / FrontendC / 2007-03-27-ArrayCompatible.c
blobfa3d2db23cc32a386ed52d28ec121fa551845d97
1 // RUN: %llvmgcc -S %s -O2 -o - | grep {ret i8 0}
2 static char c(int n) {
3 char x[2][n];
4 x[1][0]=0;
5 return *(n+(char *)x);
8 char d(void) {
9 return c(2);