rust/tests/pass/match_slice.rs

9 lines
111 B
Rust
Raw Normal View History

2016-09-27 11:10:25 +02:00
fn main() {
let x = "hello";
match x {
"foo" => {}
"bar" => {}
_ => {}
2016-09-27 11:10:25 +02:00
}
}