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) {
|
2022-12-22 09:33:12 -06:00
|
|
|
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) {
|
2022-12-22 09:33:12 -06:00
|
|
|
05 05 05 05 │ ....
|
2022-11-27 21:25:55 -06:00
|
|
|
}
|