1 // ignore-wasm32-bare compiled with panic=abort by default
3 #![feature(box_syntax)]
13 fn new() -> Self { S }
23 // START rustc.main.ElaborateDrops.before.mir
28 // let _1: std::boxed::Box<S>;
30 // let mut _2: std::boxed::Box<S>;
32 // let mut _4: std::boxed::Box<S>;
38 // (*_2) = const S::new() -> [return: bb2, unwind: bb3];
58 // _3 = const std::mem::drop(move _4) -> [return: bb5, unwind: bb7];
62 // drop(_4) -> [return: bb8, unwind: bb6];
84 // END rustc.main.ElaborateDrops.before.mir