Sign in
android
/
platform
/
external
/
llvm
/
e264f62ca09a8f65c87a46d562a4d0f9ec5d457e
/
.
/
test
/
FrontendC++
/
2005-02-20-BrokenReferenceTest.cpp
blob: 31026d30e90c7fe2e2f9fae7cf70800511a5065b [
file
] [
log
] [
blame
]
// RUN: %llvmgxx %s -S -o /dev/null
void
test
(
unsigned
char
*
b
,
int
rb
)
{
typedef
unsigned
char
imgfoo
[
10
][
rb
];
imgfoo
&
br
=
*(
imgfoo
*)
b
;
br
[
0
][
0
]
=
1
;
rb
=
br
[
0
][
0
];
}