summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/building/custom/aggregate_exprs.array.built.after.mir
blob: fde007abab0ac50ac8993630f0d32422374264e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// MIR for `array` after built

fn array() -> [i32; 2] {
    let mut _0: [i32; 2];
    let mut _1: [i32; 2];
    let mut _2: i32;

    bb0: {
        _1 = [const 42_i32, const 43_i32];
        _2 = const 1_i32;
        _1 = [_2, const 2_i32];
        _0 = move _1;
        return;
    }
}