rust/src/test/ui/issues/issue-61475.rs
2019-06-03 18:39:17 -07:00

16 lines
155 B
Rust

// run-pass
#![allow(dead_code)]
enum E {
A, B
}
fn main() {
match &&E::A {
&&E::A => {
}
&&E::B => {
}
};
}