blob: 4e32fcab3f098a8d83e1857b06f430b4cd3fd909 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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() {}
|