Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
mir-opt
/
issue_78192.rs
blob: a82f0e3a6653a387e43e67cbc0007a81689b9657 [
file
] [
log
] [
blame
] [
edit
]
// 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-after-simplifycfg.diff