]> git.lizzy.rs Git - rust.git/blob - src/test/ui/consts/const-eval/const_signed_pat.rs
Auto merge of #81132 - bugadani:map-prealloc, r=matthewjasper
[rust.git] / src / test / ui / consts / const-eval / const_signed_pat.rs
1 // check-pass
2
3 fn main() {
4     const MIN: i8 = -5;
5     match 5i8 {
6         MIN..=-1 => {},
7         _ => {},
8     }
9 }