mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-30 03:57:37 +00:00
10 lines
145 B
Rust
10 lines
145 B
Rust
//@ run-pass
|
|
pub fn main() {
|
|
let i = 5;
|
|
match &&&&i {
|
|
1 ..= 3 => panic!(),
|
|
4 ..= 8 => {},
|
|
_ => panic!(),
|
|
}
|
|
}
|