rust/tests/ui/binding/pat-tuple-7.rs
2024-02-16 20:02:50 +00:00

9 lines
112 B
Rust

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