]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/repeat.rs
Rollup merge of #107201 - compiler-errors:confusing-async-fn-note, r=estebank
[rust.git] / tests / mir-opt / const_prop / repeat.rs
1 // compile-flags: -O
2
3 // EMIT_MIR_FOR_EACH_BIT_WIDTH
4 // EMIT_MIR repeat.main.ConstProp.diff
5 fn main() {
6     let x: u32 = [42; 8][2] + 0;
7 }