Skip to content
Permalink
Browse files

Add regression test

  • Loading branch information...
estebank committed Jun 4, 2019
1 parent 288202e commit 5716e26232a2a3264272cb7d9f58dbdbccfa5a98
Showing with 15 additions and 0 deletions.
  1. +15 −0 src/test/ui/issues/issue-61475.rs
@@ -0,0 +1,15 @@
// run-pass
#![allow(dead_code)]

enum E {
A, B
}

fn main() {
match &&E::A {
&&E::A => {
}
&&E::B => {
}
};
}

0 comments on commit 5716e26

Please sign in to comment.
You can’t perform that action at this time.