blob: e0bec2fa4a69911a2b2f96d6b8237de015568c1c [file] [log] [blame]
enum Foo {
Bar(isize),
}
fn main() {
match Foo::Bar(205) {
Foo { i } => (),
// { dg-error "expected struct, variant or union type, found enum .Foo. .E0574." "" { target *-*-* } .-1 }
}
}