summaryrefslogtreecommitdiffstats
path: root/src/test/ui/binding/match-range-static.rs
blob: f01a3505ee6180585db2371a4db9027af5910718 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// run-pass
// pretty-expanded FIXME #23616
#![allow(non_upper_case_globals)]

const s: isize = 1;
const e: isize = 42;

pub fn main() {
    match 7 {
        s..=e => (),
        _ => (),
    }
}