rust/tests/mir-opt/dataflow-const-prop/self_assign_add.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
164 B
Rust
Raw Normal View History

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