rust/tests/mir-opt/dataflow-const-prop/self_assign_add.rs
2023-01-11 09:32:08 +00:00

9 lines
146 B
Rust

// unit-test: DataflowConstProp
// EMIT_MIR self_assign_add.main.DataflowConstProp.diff
fn main() {
let mut a = 0;
a += 1;
a += 1;
}