Sign in
fuchsia
/
third_party
/
rust
/
4f237bf5aef933e7bf6cd976264fce94abad3c41
/
.
/
tests
/
mir-opt
/
issue_78192.rs
blob: 95142a3e4633213e8ced150df188e329354b789a [
file
] [
log
] [
blame
]
// 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