rust/tests/ui/match/issue-82392.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
182 B
Rust
Raw Normal View History

2021-04-23 18:06:02 +00:00
// 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) {
}
}