]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/derefer_test.rs
Rollup merge of #99864 - klensy:bootstrap-art-dupe, r=jyn514
[rust.git] / src / test / mir-opt / derefer_test.rs
1 // EMIT_MIR derefer_test.main.Derefer.diff
2 fn main() {
3     let mut a = (42,43);
4     let mut b = (99, &mut a);
5     let x = &mut (*b.1).0;
6     let y = &mut (*b.1).1;
7 }