4 // Tests that automatic coercions from &mut T to *mut T
5 // allow borrows of T to expire immediately - essentially, that
6 // they work identically to 'foo as *mut T'
10 self_reference: *mut SelfReference,
14 fn set_self_ref(&mut self) {
15 self.self_reference = self;