Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
consts
/
non-scalar-cast.rs
blob: 671366c90ec8ea7a8319127b4a8bcfbeeaf7fe6d [
file
] [
log
] [
blame
]
// run-pass
// https://github.com/rust-lang/rust/issues/37448
fn
main
()
{
struct
A
;
const
FOO
:
&
A
=
&(
A
as
A
);
let
_x
=
FOO
;
}