rust/tests/mir-opt/building/custom/consts.statics.built.after.mir

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

22 lines
441 B
Rust
Raw Normal View History

2022-11-27 21:25:55 -06:00
// MIR for `statics` after built
fn statics() -> () {
2023-06-06 08:47:00 -05:00
let mut _0: ();
let mut _1: &i32;
let mut _2: *mut i32;
2022-11-27 21:25:55 -06:00
bb0: {
2023-06-06 08:47:00 -05:00
_1 = const {alloc1: &i32};
_2 = const {alloc2: *mut i32};
return;
2022-11-27 21:25:55 -06:00
}
}
alloc2 (static: T, size: 4, align: 4) {
0a 0a 0a 0a ....
2022-11-27 21:25:55 -06:00
}
alloc1 (static: S, size: 4, align: 4) {
05 05 05 05 ....
2022-11-27 21:25:55 -06:00
}