rust/tests/mir-opt/building/custom/references.immut_ref.built....

14 lines
226 B
Rust

// MIR for `immut_ref` after built
fn immut_ref(_1: &i32) -> &i32 {
let mut _0: &i32;
let mut _2: *const i32;
bb0: {
_2 = &raw const (*_1);
_0 = &(*_2);
Retag(_0);
return;
}
}