Add test for issue-60390
This commit is contained in:
parent
081e32baba
commit
0efc2cf547
8
src/test/ui/mir/issue-60390.rs
Normal file
8
src/test/ui/mir/issue-60390.rs
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user