// check-pass

#![feature(const_if_match)]

enum E {
    A,
    B,
    C
}

const fn f(e: E) -> usize {
    match e {
        _ => 0
    }
}

fn main() {
    assert_eq!(f(E::A), 0);
}

Add wildcard test for const_if_match
Add wildcard test for const_if_match

Closes https://github.com/rust-lang/rust/issues/66758
