1 // compile-flags: -Z identify_regions
3 // Tests to make sure we correctly generate falseUnwind edges in loops
6 // Exit early at runtime. Since only care about the generated MIR
7 // and not the runtime behavior (which is exercised by other tests)
8 // we just bail early. Without this the test just loops infinitely.
19 // START rustc.main.SimplifyCfg-qualify-consts.after.mir
25 // bb3: { // Entry into the loop
31 // bb5: { // The loop_block
32 // falseUnwind -> [real: bb6, cleanup: bb1];
34 // bb6: { // The loop body (body_block)
37 // FakeRead(ForLet, _6);
42 // END rustc.main.SimplifyCfg-qualify-consts.after.mir