rust/src/test/mir-opt/derefer_test.rs
2022-04-04 18:51:32 +03:00

7 lines
166 B
Rust

// EMIT_MIR derefer_test.main.Derefer.diff
fn main() {
let mut a = (42,43);
let mut b = (99, &mut a);
let x = &mut (*b.1).0;
let y = &mut (*b.1).1;
}