blob: 465e6809957041761e407b4ddb0315a1c0b5fd54 [file]
// compile-pass
// skip-codegen
fn foo(_: &mut i32) -> bool { true }
fn main() {
let opt = Some(92);
let mut x = 62;
if let Some(_) = opt {
} else if foo(&mut x) {
}
}