C: generate return statement in main function

This commit is contained in:
Alexey Andreev 2019-08-29 14:34:06 +03:00
parent 6b0b30cb23
commit 9e9866398b

View File

@ -758,6 +758,8 @@ public class CTarget implements TeaVMTarget, TeaVMCHost {
}
generateFiberStart(context, writer, includes);
writer.println("return 0;");
writer.outdent().println("}");
}