Program termination on returning from `main`
Open
area:compiler
kind:feature
status:help-wanted
- Dominant language
- C#
- Stars
- 451
- Forks
- 49
- Avg merge
- 13h 59m
- Merged PRs (30d)
- 6
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.