Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
cross-crate
/
static-array-across-crate.rs
blob: 0b84e0e6a3f5888ba4fde208f6d4da0f304cd87c [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// aux-build:pub_static_array.rs
extern
crate pub_static_array
as
array
;
use
array
::
ARRAY
;
static
X
:
&
'
static
u8
=
&
ARRAY
[
0
];
static
Y
:
&
'
static
u8
=
&(&
ARRAY
)[
0
];
static
Z
:
u8
=
(&
ARRAY
)[
0
];
pub
fn
main
()
{}