]> git.lizzy.rs Git - rust.git/blob - tests/ui/binding/match-range-static.rs
Rollup merge of #106625 - Swatinem:ref/cov6, r=nagisa
[rust.git] / tests / ui / binding / match-range-static.rs
1 // run-pass
2 // pretty-expanded FIXME #23616
3 #![allow(non_upper_case_globals)]
4
5 const s: isize = 1;
6 const e: isize = 42;
7
8 pub fn main() {
9     match 7 {
10         s..=e => (),
11         _ => (),
12     }
13 }