]> git.proxmox.com Git - rustc.git/blob - src/test/ui/expr/if/if-typeck.rs
New upstream version 1.50.0+dfsg1
[rustc.git] / src / test / ui / expr / if / if-typeck.rs
1 // error-pattern:mismatched types
2 // issue #513
3
4 fn f() { }
5
6 fn main() {
7
8 // f is not a bool
9 if f { }
10 }