2018-08-30 07:18:55 -05:00
|
|
|
// run-pass
|
2016-05-12 08:17:02 -05:00
|
|
|
|
|
|
|
fn main() {
|
2018-10-09 19:37:45 -05:00
|
|
|
#[allow(unused_parens)]
|
2016-03-06 06:54:44 -06:00
|
|
|
match 0 {
|
2018-10-09 19:37:45 -05:00
|
|
|
(pat) => assert_eq!(pat, 0)
|
2016-05-12 08:17:02 -05:00
|
|
|
}
|
|
|
|
}
|