3 #![allow(non_camel_case_types)]
11 impl<'a> Drop for r<'a> {
13 self.i.set(self.i.get() + 1);
17 fn r(i: &Cell<isize>) -> r {
24 let i = &Cell::new(0);
25 // Even though these look like copies, they are guaranteed not to be
32 assert_eq!(i.get(), 1);