Ada Reference Manual (Ada 2022)
J.15.2 Pragma No_Return
Syntax
pragma No_Return (subprogram_local_name{, subprogram_local_name});
Legality Rules
Each subprogram_local_name shall denote one or more subprograms or generic subprograms. The subprogram_local_name shall not denote a null procedure nor an instance of a generic unit.
Static Semantics
Pragma No_Return specifies that the No_Return aspect (see 6.5.1) for each subprogram denoted by each local_name given in the pragma has the value True.