]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/repeat.rs
Merge commit 'c19edfd71a1d0ddef86c2c67fdb40718d40a72b4' into sync_cg_clif-2022-07-25
[rust.git] / src / test / 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 }