1 // pretty-expanded FIXME #23616
6 #![feature(box_syntax)]
8 // Tests for a previous bug that occurred due to an interaction
9 // between struct field initialization and the auto-coercion
10 // from a vector to a slice. The drop glue was being invoked on
11 // the temporary slice with a wrong type, triggering an LLVM assert.
15 baz: &'a [Box<isize>],
20 baz: &'a [Box<isize>],
25 let _t1_fixed = Thing1 {
33 let _t2_fixed = Thing2 {