blob: 4e32fcab3f098a8d83e1857b06f430b4cd3fd909 [file] [log] [blame] [edit]
fn main() {
if true {
} else if {
//~^ ERROR missing condition for `if` expression
} else {
}
}
fn foo() {
if true {
} else if {
//~^ ERROR missing condition for `if` expression
}
bar();
}
fn bar() {}