]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/const_prop/mutable_variable_aggregate.rs
Rollup merge of #98387 - NobodyXu:feature/std_io_Error_try_downgrade_inner, r=yaahc
[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 }