1 #![feature(generators, generator_trait)]
3 // Regression test for #58892, generator drop shims should not have blocks
4 // spuriously marked as cleanup
14 // START rustc.main-{{closure}}.generator_drop.0.mir
16 // _5 = discriminant((*_1));
17 // switchInt(move _5) -> [0u32: bb4, 3u32: bb7, otherwise: bb8];
47 // END rustc.main-{{closure}}.generator_drop.0.mir