Add test for issue-60390

This commit is contained in:
Yuki Okushi 2020-03-13 09:03:44 +09:00
parent 081e32baba
commit 0efc2cf547
No known key found for this signature in database
GPG Key ID: B0986C85C0E2DAA1

View File

@ -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);
}