about summary refs log tree commit diff
path: root/tests/ui/issues/issue-10683.rs
blob: 5657ec1864b2e7aa87d92dee635c0ed20eb5d5fa (plain)
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" => {}
        _ => {}
    }
}