]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mutable_variable_aggregate.rs
Merge commit 'dbee13661efa269cb4cd57bb4c6b99a19732b484' into sync_cg_clif-2020-12-27
[rust.git] / src / test / mir-opt / const_prop / mutable_variable_aggregate.rs
1 // compile-flags: -O
2
3 // EMIT_MIR mutable_variable_aggregate.main.ConstProp.diff
4 fn main() {
5     let mut x = (42, 43);
6     x.1 = 99;
7     let y = x;
8 }