rust/tests/mir-opt/dataflow-const-prop/repeat.rs
2023-10-19 15:51:52 +00:00

10 lines
212 B
Rust

// skip-filecheck
// unit-test: DataflowConstProp
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
// EMIT_MIR_FOR_EACH_BIT_WIDTH
// EMIT_MIR repeat.main.DataflowConstProp.diff
fn main() {
let x: u32 = [42; 8][2] + 0;
}