rust/src/test/ui/negative.rs
2019-07-27 18:56:16 +03:00

9 lines
91 B
Rust

// run-pass
pub fn main() {
match -5 {
-5 => {}
_ => { panic!() }
}
}