summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-10683.rs
blob: dcb221f8c5776dcc0e7fa442d1c87d7e621231c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass
// pretty-expanded FIXME #23616

static NAME: &'static str = "hello world";

fn main() {
    match &*NAME.to_ascii_lowercase() {
        "foo" => {}
        _ => {}
    }
}