rust/src/test/mir-opt/const_prop/mutable_variable_aggregate.rs
2020-07-29 13:41:11 +02:00

8 lines
150 B
Rust

// compile-flags: -O
// EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
fn main() {
let mut x = (42, 43);
x.1 = 99;
let y = x;
}