☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
rust
/
compile
/
func2.rs
☽
☼
gcc/testsuite/rust/compile/func2.rs
code
plain
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
}