2019-03-08 08:22:52 +00:00
|
|
|
import io
|
|
|
|
|
2019-03-08 21:45:33 +00:00
|
|
|
// 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
|
2019-03-08 21:30:30 +00:00
|
|
|
fn main () -> int {
|
2019-03-08 21:45:33 +00:00
|
|
|
io.puts("pants")
|
|
|
|
0
|
2019-03-08 08:22:52 +00:00
|
|
|
}
|