We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 703bb98 + 159ed85 commit 5101833Copy full SHA for 5101833
tests/crashes/131451.rs
@@ -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