10 lines
181 B
Rust
10 lines
181 B
Rust
// unit-test: ConstProp
|
|
|
|
// EMIT_MIR mutable_variable_aggregate_mut_ref.main.ConstProp.diff
|
|
fn main() {
|
|
let mut x = (42, 43);
|
|
let z = &mut x;
|
|
z.1 = 99;
|
|
let y = x;
|
|
}
|