//@ run-pass #![allow(dead_code)] //@ pretty-expanded FIXME #23616 fn borrow(_v: &isize) {} fn borrow_from_arg_imm_ref(v: Box) { borrow(&*v); } fn borrow_from_arg_mut_ref(v: &mut Box) { borrow(&**v); } fn borrow_from_arg_copy(v: Box) { borrow(&*v); } pub fn main() { }