mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-05 05:04:24 +00:00
9 lines
164 B
Rust
9 lines
164 B
Rust
// run-pass
|
|
|
|
#![allow(unused_parens)]
|
|
// pretty-expanded FIXME #23616
|
|
|
|
fn foo() { if (return) { } } //~ WARNING unreachable block in `if`
|
|
|
|
pub fn main() { foo(); }
|