1 // min-lldb-version: 310
7 #![allow(unused_variables)]
8 #![feature(box_syntax)]
9 #![feature(omit_gdb_pretty_printer_section)]
10 #![omit_gdb_pretty_printer_section]
13 fn method(&self) -> isize { 0 }
21 impl Trait for Struct {}
23 // There is no real test here yet. Just make sure that it compiles without crashing.
25 let stack_struct = Struct { a:0, b: 1.0 };
26 let reference: &Trait = &stack_struct as &Trait;
27 let unique: Box<Trait> = box Struct { a:2, b: 3.0 } as Box<Trait>;