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
25 // let _1: std::boxed::Box<S>;
26 // let mut _2: std::boxed::Box<S>;
28 // let mut _4: std::boxed::Box<S>;
35 // (*_2) = const S::new() -> [return: bb2, unwind: bb3];
56 // _3 = const std::mem::drop::<std::boxed::Box<S>>(move _4) -> [return: bb5, unwind: bb7];
76 // END rustc.main.ElaborateDrops.before.mir