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-10-15 12:00:11 -05:00
_1 = const {ALLOC0: &i32};
_2 = const {ALLOC1: *mut i32};
2023-06-06 08:47:00 -05:00
return;
2022-11-27 21:25:55 -06:00
}
}
2023-10-15 12:00:11 -05:00
ALLOC1 (static: T, size: 4, align: 4) {
0a 0a 0a 0a ....
2022-11-27 21:25:55 -06:00
}
2023-10-15 12:00:11 -05:00
ALLOC0 (static: S, size: 4, align: 4) {
05 05 05 05 ....
2022-11-27 21:25:55 -06:00
}