summaryrefslogtreecommitdiffstats
path: root/src/test/ui/match/issue-82392.rs
blob: d26d883040b485e9a1122234152ffdaec2fa5152 (plain)
1
2
3
4
5
6
7
8
9
// https://github.com/rust-lang/rust/issues/82329
// compile-flags: -Zunpretty=hir,typed
// check-pass

pub fn main() {
    if true {
    } else if let Some(a) = Some(3) {
    }
}