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
29 // bb4: { // The loop_block
30 // falseUnwind -> [real: bb5, cleanup: bb1];
32 // bb5: { // The loop body (body_block)
35 // FakeRead(ForLet, _5);
40 // END rustc.main.SimplifyCfg-qualify-consts.after.mir