]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/repeat.rs
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[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 }