Debian Codegraph @

gcc/testsuite/rust/compile/func2.rs

raw
1 fn test(a: i32, b: i32) -> i32 {
2 a + b
3 }
4
5 fn main() {
6 let a = test(1); // { dg-error "this function takes 2 arguments but 1 argument was supplied" }
7 }