module 0x8675309::M { struct S { f: u64, g: u64 } fun id(r: &T): &T { r } fun id_mut(r: &mut T): &mut T { r } fun t0() { let x = &mut 0; let f = x; *x = 0; *f; let x = &mut 0; let f = freeze(x); *x = 0; *f; let x = &mut 0; let f = id(x); *x = 0; *f; let x = &mut 0; let f = id_mut(x); *x = 0; *f; } }