mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
14 lines
199 B
Rust
14 lines
199 B
Rust
//@ 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 => (),
|
|
_ => (),
|
|
}
|
|
}
|