1 with Ada
.Finalization
; use Ada
.Finalization
;
3 package Noreturn4_Pkg
is
6 function It
return Priv
;
7 function Value
(Obj
: Priv
) return Integer;
8 function OK
(Obj
: Priv
) return Boolean;
11 type Priv
is new Controlled
with record
12 Value
: Integer := 15;
15 procedure Adjust
(Obj
: in out Priv
);
16 procedure Finalize
(Obj
: in out Priv
);