summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/simple_assign.simple.built.after.mir
blob: 6f7aaeed979904f7f8e174974a59494689224771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// MIR for `simple` after built

fn simple(_1: i32) -> i32 {
    let mut _0: i32;
    let mut _2: i32;
    let mut _3: i32;

    bb0: {
        StorageLive(_2);
        _2 = _1;
        goto -> bb1;
    }

    bb1: {
        _3 = move _2;
        StorageDead(_2);
        _0 = _3;
        return;
    }
}