
Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
21 lines
221 B
Rust
21 lines
221 B
Rust
//@ run-pass
|
|
#![allow(unused_must_use)]
|
|
|
|
#![allow(unreachable_code)]
|
|
|
|
fn foo() -> bool { false }
|
|
|
|
fn bar() {
|
|
return;
|
|
!foo();
|
|
}
|
|
|
|
fn baz() {
|
|
return;
|
|
if "" == "" {}
|
|
}
|
|
|
|
pub fn main() {
|
|
bar();
|
|
baz();
|
|
}
|