2 // compile-flags: -C overflow-checks=on
9 // EMIT_MIR_FOR_EACH_BIT_WIDTH
10 // EMIT_MIR optimizes_into_variable.main.ConstProp.diff
11 // EMIT_MIR optimizes_into_variable.main.SimplifyLocals.after.mir
14 let y = [0, 1, 2, 3, 4, 5][3];
15 let z = (Point { x: 12, y: 42}).y;