rust/tests/mir-opt/building/custom/as_cast.int_to_ptr.built.after.mir

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
201 B
Rust
Raw Normal View History

2023-03-07 04:42:34 -06:00
// MIR for `int_to_ptr` after built
fn int_to_ptr(_1: usize) -> *const i32 {
2023-06-06 08:47:00 -05:00
let mut _0: *const i32;
2023-03-07 04:42:34 -06:00
bb0: {
2023-06-06 08:47:00 -05:00
_0 = _1 as *const i32 (PointerFromExposedAddress);
return;
2023-03-07 04:42:34 -06:00
}
}