rust/tests/ui/half-open-range-patterns/pat-tuple-4.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
150 B
Rust
Raw Normal View History

// check-pass
#![feature(exclusive_range_pattern)]
fn main() {
const PAT: u8 = 1;
match 0 {
(.. PAT) => {}
_ => {}
}
}