Skip to content

spec: program does not necessary exit when main function returns #8023

@dvyukov

Description

@dvyukov
The spec says:
"When the function main returns, the program exits".

This is not true, see:
http://play.golang.org/p/P-mDJXdmlN

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions