]> git.lizzy.rs Git - rust.git/blob - src/test/ui/if-ret.rs
Auto merge of #75406 - mati865:mingw-aslr, r=Mark-Simulacrum
[rust.git] / src / test / ui / 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(); }