3 #![allow(non_camel_case_types)]
4 #![feature(box_syntax)]
10 // Note: impl on a slice; we're checking that the pointers below
11 // correctly get borrowed to `&`. (similar to impling for `isize`, with
12 // `&self` instead of `self`.)
13 impl<'a> get for &'a isize {
14 fn get(self) -> isize {
20 let x: Box<_> = box 6;