rust/tests/ui/mir/issue-60390.rs

9 lines
187 B
Rust

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