]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/derefer_test.rs
Rollup merge of #96603 - Alexendoo:const-generics-tests, r=Mark-Simulacrum
[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 }