about summary refs log tree commit diff
path: root/tests/ui/half-open-range-patterns/pat-tuple-4.rs
blob: 325293aa486ec6cdfc0453ddaeafc02fd0a25754 (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass

fn main() {
    const PAT: u8 = 1;

    match 0 {
        (.. PAT) => {}
        _ => {}
    }
}