about summary refs log tree commit diff
path: root/tests/ui/match/tuple-usize-pattern-14393.rs
blob: 12d58d4c059a58d6f234a6d98ec2633dd4f2870e (plain)
1
2
3
4
5
6
7
8
9
10
11
//! Regression test for https://github.com/rust-lang/rust/issues/14393

//@ run-pass

fn main() {
    match ("", 1_usize) {
        (_, 42_usize) => (),
        ("", _) => (),
        _ => ()
    }
}