Debian Codegraph @

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

raw
1 fn test(x: i32) -> i32 {
2 return x + 1;
3 }
4
5 fn main() {
6 let call_test = test(1);
7 // { dg-warning "unused name" "" { target *-*-* } .-1 }
8 }