2 -- { dg-options "-gnatws" }
4 with Array14_Pkg
; use Array14_Pkg
;
6 package body Array14
is
10 Length
: constant SSE
.Storage_Count
:= Length2
;
12 subtype Encoded_Index_Type
is SSE
.Storage_Count
range 1 .. Length
;
13 subtype Encoded_Type
is SSE
.Storage_Array
(Encoded_Index_Type
'Range);
15 procedure Encode
(Input
: in Integer; Output
: out Encoded_Type
);
19 package body Nested
is
21 procedure Encode
(Input
: in Integer; Output
: out Encoded_Type
) is
23 Encode2
(Input
, Output
);
29 O
: Nested
.Encoded_Type
;
30 for O
'Alignment use 4;