mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
10 lines
228 B
Rust
10 lines
228 B
Rust
//@ known-bug: #131451
|
|
//@ needs-rustc-debug-assertions
|
|
//@ compile-flags: -Zmir-enable-passes=+GVN -Zmir-enable-passes=+JumpThreading --crate-type=lib
|
|
|
|
pub fn fun(terminate: bool) {
|
|
while true {}
|
|
|
|
while !terminate {}
|
|
}
|