rust/tests/ui/binding/match-range-static.rs

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

14 lines
197 B
Rust
Raw Normal View History

// run-pass
// pretty-expanded FIXME #23616
#![allow(non_upper_case_globals)]
const s: isize = 1;
const e: isize = 42;
pub fn main() {
match 7 {
s..=e => (),
_ => (),
}
}