Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
estebank committed Jun 4, 2019
1 parent 288202e commit 5716e26
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/test/ui/issues/issue-61475.rs
Original file line number Diff line number Diff line change
@@ -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.