Ada Conformity Assessment Authority      Home Conformity Assessment   Test Suite ARGAda Standard
 
Ada Reference Manual (Ada 2022)Legal Information
Contents   Index   References   Search   Previous   Next 

J.15.4 Pragma Storage_Size

Syntax

1/3
The form of a pragma Storage_Size is as follows: 
2/3
  pragma Storage_Size (expression);
3/3
A pragma Storage_Size is allowed only immediately within a task_definition.

Name Resolution Rules

4/3
The expression of a pragma Storage_Size is expected to be of any integer type.

Static Semantics

5/3
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.

Contents   Index   References   Search   Previous   Next 
Ada-Europe Ada 2005 and 2012 Editions sponsored in part by Ada-Europe