☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
match6.rs
☽
☼
gcc/testsuite/rust/compile/match6.rs
code
plain
raw
1
fn foo() -> bool {
2
true
3
}
4
5
fn int32() -> i32 {
6
1
7
}
8
9
fn bar() -> i32 {
10
match foo() {
11
true => int32(),
12
false => 0
13
}
14
}
15
16
fn main() -> () {
17
bar();
18
}