mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 01:34:21 +00:00
10 lines
187 B
Rust
10 lines
187 B
Rust
// unit-test: DataflowConstProp
|
|
|
|
// EMIT_MIR tuple.main.DataflowConstProp.diff
|
|
fn main() {
|
|
let mut a = (1, 2);
|
|
let b = a.0 + a.1 + 3;
|
|
a = (2, 3);
|
|
let c = a.0 + a.1 + b;
|
|
}
|