summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/references.raw_pointer_offset.built.after.mir
blob: f614aef4029d0127d091b66a6a2027929007339a (plain)
1
2
3
4
5
6
7
8
9
10
// MIR for `raw_pointer_offset` after built

fn raw_pointer_offset(_1: *const i32) -> *const i32 {
    let mut _0: *const i32;              // return place in scope 0 at $DIR/references.rs:+0:45: +0:55

    bb0: {
        _0 = Offset(_1, const 1_isize);  // scope 0 at $DIR/references.rs:+2:9: +2:33
        return;                          // scope 0 at $DIR/references.rs:+3:9: +3:17
    }
}