rust/tests/mir-opt/const_prop/repeat.rs
2023-01-11 09:32:08 +00:00

8 lines
139 B
Rust

// compile-flags: -O
// EMIT_MIR_FOR_EACH_BIT_WIDTH
// EMIT_MIR repeat.main.ConstProp.diff
fn main() {
let x: u32 = [42; 8][2] + 0;
}