blob: 830c84cb129d7c980902d8f2562f9c2ced7c0931 [file]
#![feature(no_core)]
#![no_core]
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 }
}