summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/const_promotion_extern_static.BOP.built.after.mir
blob: ff80d5eedab915dd10ad9d164c0d9ce2627b4738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// MIR for `BOP` after built

static BOP: &i32 = {
    let mut _0: &i32;
    let _1: &i32;
    let _2: i32;

    bb0: {
        StorageLive(_1);
        StorageLive(_2);
        _2 = const 13_i32;
        _1 = &_2;
        _0 = &(*_1);
        StorageDead(_1);
        return;
    }
}