v/vlib/v/checker/tests/function_wrong_return_type.vv

9 lines
68 B
V

fn h() int {
return 3.14
}
fn main() {
d := h()
println('$d')
}