v/vlib/v/checker/tests/return_void_type_err.vv

8 lines
80 B
V

fn hello(msg string) ? {
return println(msg)
}
fn main() {
hello('test') ?
}