]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/derefer_test.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[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 }