mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-01 17:04:13 +00:00
10 lines
162 B
Rust
10 lines
162 B
Rust
// https://github.com/rust-lang/rust/issues/5741
|
|
//@ run-pass
|
|
#![allow(while_true)]
|
|
#![allow(unreachable_code)]
|
|
|
|
pub fn main() {
|
|
return;
|
|
while true {};
|
|
}
|