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

fn int_to_ptr(_1: usize) -> *const i32 {
    let mut _0: *const i32;

    bb0: {
        _0 = _1 as *const i32 (PointerFromExposedAddress);
        return;
    }
}