rust/tests/ui/issues/issue-22008.rs
2023-01-11 09:32:08 +00:00

10 lines
156 B
Rust

// run-pass
pub fn main() {
let command = "a";
match command {
"foo" => println!("foo"),
_ => println!("{}", command),
}
}