blob: d8c262bd6b370e1904e62dbef39212f831d7886a [file] [log] [blame]
// error-pattern:mismatched types
// issue #513
fn f() { }
fn main() {
// f is not a bool
if f { }
}