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

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

    bb0: {
        _0 = &raw const (*_1);           // scope 0 at $DIR/references.rs:+4:9: +4:27
        return;                          // scope 0 at $DIR/references.rs:+5:9: +5:17
    }
}