rust/tests/ui/binding/pat-tuple-7.rs
2023-01-11 09:32:08 +00:00

9 lines
111 B
Rust

// run-pass
fn main() {
#[allow(unused_parens)]
match 0 {
(pat) => assert_eq!(pat, 0)
}
}