blob: 338971aa8bd4b15174339548dc45c588984f2a99 [file] [log] [blame]
fn test(a: i32, b: i32) -> i32 {
a + b
}
fn main() {
let a = test(1, true);
// { dg-error "mismatched types, expected .i32. but got .bool." "" { target *-*-* } .-1 }
}