rust/tests/ui/pattern/usefulness/const-pat-ice.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
149 B
Rust
Raw Normal View History

// check-pass
2018-12-13 11:54:49 +00:00
const FOO: &&&u32 = &&&42;
fn main() {
match unimplemented!() {
&&&42 => {},
FOO => {},
_ => {},
}
}