1 2 3 4 5 6
fn func() -> i32 { // { dg-error "mismatched types, expected .i32. but got ...." } } fn main() { func(); }