14 lines
143 B
Text
14 lines
143 B
Text
fn returns_void()
|
|
return
|
|
end
|
|
|
|
fn returns_u32(): u32
|
|
return 5
|
|
end
|
|
|
|
fn nested_return(x: i32): i32
|
|
if x < 0 then
|
|
return 0
|
|
end
|
|
return x
|
|
end
|