]> git.proxmox.com Git - rustc.git/blob - src/test/ui/expr/if/if-ret.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / expr / if / if-ret.rs
1 // run-pass
2
3 #![allow(unused_parens)]
4 // pretty-expanded FIXME #23616
5
6 fn foo() { if (return) { } } //~ WARNING unreachable block in `if` expression
7
8 pub fn main() { foo(); }