Debian Codegraph @

gcc/testsuite/rust/compile/torture/stmt_with_block1.rs

raw
1 fn test(x: i32) -> i32 {
2 if x > 1 { 1 } else { 2 };
3 if x > 1 { 1; } else { 2; }
4
5 { 3; }
6 { 3 };
7
8 { 3 }
9 }
10
11 fn main() {
12 let a = test(0); // { dg-warning "unused name" }
13 }