diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/run.zc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/run.zc b/src/runtime/run.zc index a8f82e2..19a5234 100644 --- a/src/runtime/run.zc +++ b/src/runtime/run.zc @@ -8,9 +8,10 @@ include rt; // // cat build/run/rt.zc src/runtime/run.zc examples/hello.zc | ./zc0 >build/run/genome.h -// the program's entry point, written by the program (see start). +// the program's entry point, written by the program (see start). the prototype is untyped so +// that main may be declared int, void or untyped, as in any other program: its value is ignored. namespace; -int main(); +fn main(); namespace run; include rt; |
