summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/lower_array_len_e2e.array_len_by_value.PreCodegen.after.mir
blob: 4dc0ba9a268ea1bf8a35d024eff98b70eddc87a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// MIR for `array_len_by_value` after PreCodegen

fn array_len_by_value(_1: [u8; N]) -> usize {
    debug arr => _1;                     // in scope 0 at $DIR/lower_array_len_e2e.rs:+0:43: +0:46
    let mut _0: usize;                   // return place in scope 0 at $DIR/lower_array_len_e2e.rs:+0:60: +0:65

    bb0: {
        _0 = const N;                    // scope 0 at $DIR/lower_array_len_e2e.rs:+1:5: +1:14
        return;                          // scope 0 at $DIR/lower_array_len_e2e.rs:+2:2: +2:2
    }
}