Skip to content

Commit

Permalink
Add test for issue-60390
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Mar 13, 2020
1 parent 081e32b commit 0efc2cf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/test/ui/mir/issue-60390.rs
@@ -0,0 +1,8 @@
// check-pass
// compile-flags: --emit=mir,link
// Regression test for #60390, this ICE requires `--emit=mir` flag.

fn main() {
enum Inner { Member(u32) };
Inner::Member(0);
}

0 comments on commit 0efc2cf

Please sign in to comment.