rust/tests/ui/pattern/usefulness/const-pat-ice.rs
2023-01-11 09:32:08 +00:00

12 lines
149 B
Rust

// check-pass
const FOO: &&&u32 = &&&42;
fn main() {
match unimplemented!() {
&&&42 => {},
FOO => {},
_ => {},
}
}