summaryrefslogtreecommitdiffstats
path: root/tests/ui/mir/issue-60390.rs
blob: fd9d6b46dd4440a9e29bc03efbe581e0746854c0 (plain)
1
2
3
4
5
6
7
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);
}