summary refs log tree commit diff
path: root/src/test/run-pass/match-range-static.rs
blob: 0bf0d6e41fa40345391c8e6c56e5007f901b0d0c (plain)
1
2
3
4
5
6
7
8
9
static s: int = 1;
static e: int = 42;

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