Program termination on returning from main
#67
Labels
area:compiler
Related to code compilation or type checking
kind:feature
New feature or request
status:help-wanted
Open for contributors
According to the C standard, section 5.1.2.2.3 Program termination, the whole program should be terminated if the
main
function has exited.We should make sure we follow this in a multi-threaded environment, and what's the current general direction other compilers/environments take in that regard.
The text was updated successfully, but these errors were encountered: