Debian Codegraph @

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

raw
1 fn foo() -> i32 {
2 return 1;
3
4 let a = -1; // { dg-warning "unreachable statement" }
5 a // { dg-warning "unreachable expression" }
6 }
7
8 fn main() {
9 foo();
10 }