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

fn simple_index(_1: [i32; 10], _2: &[i32]) -> i32 {
    let mut _0: i32;
    let mut _3: usize;

    bb0: {
        _3 = const 3_usize;
        _0 = _1[_3];
        _0 = (*_2)[_3];
        return;
    }
}