rust/tests/mir-opt/const_promotion_extern_stat...

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

18 lines
285 B
Rust
Raw Normal View History

// MIR for `BOP` after built
static BOP: &i32 = {
2023-06-06 21:47:00 +08:00
let mut _0: &i32;
let _1: &i32;
let _2: i32;
bb0: {
2023-06-06 21:47:00 +08:00
StorageLive(_1);
StorageLive(_2);
_2 = const 13_i32;
_1 = &_2;
_0 = &(*_1);
StorageDead(_1);
return;
}
}