Debian Codegraph @

gcc/testsuite/rust/compile/match7.rs

raw
1 fn bar (x: u8, y: u8) -> i32 {
2 match (x, y) {
3 (1, 1) => { return 1; }
4 (1, _) => { return -1; }
5 }
6
7 return 0;
8 }
9
10 fn main () -> () {
11 bar (1, 2);
12 }