Debian Codegraph @

gcc/testsuite/rust/compile/func3.rs

raw
1 fn test(a: i32, b: i32) -> i32 {
2 a + b
3 }
4
5 fn main() {
6 let a = test(1, true);
7 // { dg-error "mismatched types, expected .i32. but got .bool." "" { target *-*-* } .-1 }
8 }