2 -- { dg-options "-gnatws" }
4 procedure Expr_Func9
is
6 type Root
is interface
;
8 type Child1
is new Root
with null record;
10 type Child2
is new Root
with record
14 function Create
(I
: Integer) return Child2
is (I2
=> I
);
18 then Child1
'(null record)