summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/const-pat-ice.rs
blob: abfacf3936b6dd61d00415f37fcaa0d74a456769 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass

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

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