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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
185 B
Rust
Raw Normal View History

2020-03-12 19:03:44 -05:00
// 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);
}