mirror of
https://github.com/rust-lang/rust.git
synced 2026-01-20 17:41:08 +00:00
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
9 lines
113 B
Rust
9 lines
113 B
Rust
//@ run-pass
|
|
#![allow(while_true)]
|
|
#![allow(unreachable_code)]
|
|
|
|
pub fn main() {
|
|
return;
|
|
while true {};
|
|
}
|