4 with Controlled1_Pkg
; use Controlled1_Pkg
;
8 type Collection
is new Ada
.Finalization
.Controlled
with null record;
10 type Object_Kind_Type
is (One
, Two
);
12 type Byte_Array
is array (Natural range <>) of Integer;
14 type Bounded_Byte_Array_Type
is record
15 A
: Byte_Array
(1 .. Value
);
18 type Object_Type
is tagged record
19 A
: Bounded_Byte_Array_Type
;
22 type R_Object_Type
is new Object_Type
with record
26 type Obj_Type
(Kind
: Object_Kind_Type
:= One
) is record
28 when One
=> R
: R_Object_Type
;
33 type Obj_Array_Type
is array (Positive range <>) of Obj_Type
;