1 2 3 4 5 6 7 8 9 10
//@ run-pass static NAME: &'static str = "hello world"; fn main() { match &*NAME.to_ascii_lowercase() { "foo" => {} _ => {} } }