☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
torture
/
match1.rs
☽
☼
gcc/testsuite/rust/compile/torture/match1.rs
code
plain
raw
1
// { dg-additional-options "-w" }
2
enum Foo {
3
A,
4
B,
5
C(char),
6
D { x: i64, y: i64 },
7
}
8
9
fn inspect(f: Foo) {
10
match f {
11
Foo::A => {}
12
Foo::B => {}
13
Foo::C(x) => {}
14
Foo::D { x, y } => {}
15
}
16
}