rust/tests/ui/binding/pat-tuple-7.rs

9 lines
112 B
Rust
Raw Normal View History

//@ run-pass
2016-05-12 13:17:02 +00:00
fn main() {
#[allow(unused_parens)]
match 0 {
(pat) => assert_eq!(pat, 0)
2016-05-12 13:17:02 +00:00
}
}