Skip to content

Commit

Permalink
crashes: add test for #131451
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiaskrgr committed Nov 16, 2024
1 parent 46e8d20 commit 6fca409
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/crashes/131451.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//@ known-bug: #131451
//@ needs-rustc-debug-assertions
//@ compile-flags: -Zmir-opt-level=5 -Zvalidate-mir

fn check_multiple_lints_3(terminate: bool) {
while true {}

while !terminate {}
}

0 comments on commit 6fca409

Please sign in to comment.