mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00
10 lines
164 B
Rust
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;
|
|
}
|