☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
match-never-rtype.rs
☽
☼
gcc/testsuite/rust/compile/match-never-rtype.rs
code
plain
raw
1
fn foo() {}
2
3
enum Foo {
4
A,
5
B,
6
}
7
8
fn main() {
9
let a = Foo::A;
10
11
loop {
12
match a {
13
Foo::B => foo(),
14
Foo::A => break,
15
}
16
}
17
}