about summary refs log tree commit diff
path: root/tests/mir-opt/building/custom/simple_assign.simple.built.after.mir
blob: 10ad840f98c5028d0adf94cf5e06edfc046790eb (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 = copy _1;
        goto -> bb1;
    }

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