Skip to content

Commit 45eba90

Browse files
authored
Unrolled build for rust-lang#133104
Rollup merge of rust-lang#133104 - matthiaskrgr:crashtest_debugass_131451.rs, r=saethlin crashes: add test for rust-lang#131451 r? `@saethlin` How do I find out which mir opts are involved here? 😅
2 parents f415c07 + 159ed85 commit 45eba90

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/crashes/131451.rs

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//@ known-bug: #131451
2+
//@ needs-rustc-debug-assertions
3+
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+JumpThreading --crate-type=lib
4+
5+
pub fn fun(terminate: bool) {
6+
while true {}
7+
8+
while !terminate {}
9+
}

0 commit comments

Comments
 (0)