2018-08-30 14:18:55 +02:00
|
|
|
//@ run-pass
|
2015-03-22 13:13:15 -07:00
|
|
|
|
2014-04-27 20:27:20 -07:00
|
|
|
static NAME: &'static str = "hello world";
|
|
|
|
|
|
|
|
|
|
fn main() {
|
2015-02-01 21:53:25 -05:00
|
|
|
match &*NAME.to_ascii_lowercase() {
|
2014-04-27 20:27:20 -07:00
|
|
|
"foo" => {}
|
|
|
|
|
_ => {}
|
|
|
|
|
}
|
|
|
|
|
}
|