]> git.lizzy.rs Git - rust.git/blob - tests/mir-opt/const_prop/mutable_variable_aggregate.rs
Rollup merge of #106446 - bzEq:fix-unwind-lsda, r=Amanieu
[rust.git] / tests / mir-opt / const_prop / mutable_variable_aggregate.rs
1 // unit-test
2 // compile-flags: -O
3
4 // EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
5 fn main() {
6     let mut x = (42, 43);
7     x.1 = 99;
8     let y = x;
9 }