about summary refs log tree commit diff
path: root/tests/ui/pattern/usefulness/const-pat-ice.rs
blob: 69f161856765f201acaf3f743e54a2bc1d30bc23 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ check-pass

const FOO: &&&u32 = &&&42;

fn main() {
    match unimplemented!() {
        &&&42 => {},
        FOO => {},
        _ => {},
    }
}