jorts/examples/hello.jt
2019-03-08 18:45:33 -03:00

10 lines
247 B
Text

import io
// if a return type is not defined, it is implicitly void and so the function
// returns nil (the only instance of void)
// main can return int or void, void mains are handled by jortsc
fn main () -> int {
io.puts("pants")
0
}