rust/src/test/ui/issues/issue-13483.rs
2018-12-25 21:08:33 -07:00

16 lines
193 B
Rust

fn main() {
if true {
} else if { //~ ERROR missing condition
} else {
}
}
fn foo() {
if true {
} else if { //~ ERROR missing condition
}
bar();
}
fn bar() {}