Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
mir-opt
/
issue_78192.rs
blob: b08c3615e8b1a5ea2c036b16b6026ed2d0afa392 [
file
] [
log
] [
blame
]
// skip-filecheck
// compile-flags: -Zmir-opt-level=1 -Zinline-mir
pub
fn
f
<
T
>(
a
:
&
T
)
->
*
const
T
{
let
b
:
&*
const
T
=
&(
a
as
*
const
T
);
*
b
}
fn
main
()
{
f
(&
2
);
}
// EMIT_MIR issue_78192.f.InstSimplify.diff