rust/src/test/ui/issues/issue-75704.rs
Tomasz Miąsko 82651db9b2 Fix change detection in CfgSimplifier::collapse_goto_chain
Check that the old target is different from the new collapsed one,
before concluding that anything changed.
2020-08-03 00:39:53 +02:00

7 lines
126 B
Rust

// Caused an infinite loop during SimlifyCfg MIR transform previously.
//
// build-pass
fn main() {
loop { continue; }
}