Skip to content

Commit 0afeb2f

Browse files
committed
[basic.start.main] Clarify meaning of "contain a function"
1 parent 721d01c commit 0afeb2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/basic.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7187,7 +7187,7 @@
71877187

71887188
\pnum
71897189
\indextext{program!startup|(}%
7190-
A program shall contain exactly one function called \tcode{main}
7190+
A program shall contain exactly one definition of a function called \tcode{main}
71917191
that belongs to the global scope.
71927192
Executing a program starts a main thread of execution\iref{intro.multithread,thread.threads}
71937193
in which the \tcode{main} function is invoked.

0 commit comments

Comments
 (0)