Ada Reference Manual (Ada 2022)
J.15.4 Pragma Storage_Size
Syntax
The form of a pragma Storage_Size is as follows:
pragma Storage_Size (expression);
A pragma Storage_Size is allowed only immediately within a task_definition.
Name Resolution Rules
The expression of a pragma Storage_Size is expected to be of any integer type.
Static Semantics
The pragma Storage_Size sets the Storage_Size aspect (see 13.3) of the type defined by the immediately enclosing task_definition to the value of the expression of the pragma.