Skip to content

Commit 2e5976f

Browse files
jensmaurertkoeppe
authored andcommitted
[stmt.return] Clarify flowing off the end of a function
1 parent 0df02c9 commit 2e5976f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/statements.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
a non-coroutine function with a \cv{}~\keyword{void} return type is
850850
equivalent to a \tcode{return} with no operand.
851851
Otherwise, flowing off the end of a function
852-
other than \tcode{main}\iref{basic.start.main} or a coroutine\iref{dcl.fct.def.coroutine}
852+
that is neither \tcode{main}\iref{basic.start.main} nor a coroutine\iref{dcl.fct.def.coroutine}
853853
results in undefined behavior.
854854

855855
\pnum

0 commit comments

Comments
 (0)