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

10 lines
164 B
Rust

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