mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 02:03:53 +00:00
11 lines
246 B
Rust
11 lines
246 B
Rust
//@ compile-flags: -Ztreat-err-as-bug
|
|
//@ dont-check-failure-status
|
|
//@ error-pattern: aborting due to `-Z treat-err-as-bug=1`
|
|
//@ dont-check-compiler-stderr
|
|
//@ rustc-env:RUST_BACKTRACE=0
|
|
|
|
fn main() {
|
|
#[deny(while_true)]
|
|
while true {}
|
|
}
|