☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
issue-3656.rs
☽
☼
gcc/testsuite/rust/compile/issue-3656.rs
code
plain
raw
1
enum Foo {
2
Bar(isize),
3
}
4
5
fn main() {
6
match Foo::Bar(205) {
7
Foo { i } => (),
8
// { dg-error "expected struct, variant or union type, found enum .Foo. .E0574." "" { target *-*-* } .-1 }
9
}
10
}