1 // ignore-wasm32-bare compiled with panic=abort by default
3 // Ensure that there are no drop terminators in `unwrap<T>` (except the one along the cleanup
6 // EMIT_MIR no_drop_for_inactive_variant.unwrap.SimplifyCfg-elaborate-drops.after.mir
7 fn unwrap<T>(opt: Option<T>) -> T {
15 let _ = unwrap(Some(1i32));