repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
FrontendC
/
2007-03-27-ArrayCompatible.c
blob
fa3d2db23cc32a386ed52d28ec121fa551845d97
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
);
6
}
7
8
char
d
(
void
) {
9
return
c
(
2
);
10
}