mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00

Done with ```bash sd '//@ pretty-expanded.*\n' '' tests/ui/**/*.rs ``` and ``` sd '//@pretty-expanded.*\n' '' tests/ui/**/*.rs ```
13 lines
166 B
Rust
13 lines
166 B
Rust
//@ run-pass
|
|
#![allow(non_upper_case_globals)]
|
|
|
|
const s: isize = 1;
|
|
const e: isize = 42;
|
|
|
|
pub fn main() {
|
|
match 7 {
|
|
s..=e => (),
|
|
_ => (),
|
|
}
|
|
}
|