rust/tests/mir-opt/building/custom/consts.statics.built.after.mir
2023-06-15 15:19:11 -04:00

22 lines
441 B
Rust

// MIR for `statics` after built
fn statics() -> () {
let mut _0: ();
let mut _1: &i32;
let mut _2: *mut i32;
bb0: {
_1 = const {alloc1: &i32};
_2 = const {alloc2: *mut i32};
return;
}
}
alloc2 (static: T, size: 4, align: 4) {
0a 0a 0a 0a ....
}
alloc1 (static: S, size: 4, align: 4) {
05 05 05 05 ....
}