summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/integer-range-binding.rs
blob: ff065882d96e291407dab5eb429d67dc3e8959d5 (plain)
1
2
3
4
5
6
7
8
// run-pass

fn main() {
    let -2147483648..=2147483647 = 1;
    let 0..=255 = 0u8;
    let -128..=127 = 0i8;
    let '\u{0000}'..='\u{10FFFF}' = 'v';
}