2 -- { dg-options "-gnatws" }
6 function Ident
(I
: Integer) return Integer is
11 type Int
is range 1 .. 10;
13 type Str
is array (Int
range <>) of Character;
15 type Parent
(D1
, D2
: Int
; B
: Boolean) is record
19 type Derived
(D
: Int
) is new Parent
(D1
=> D
, D2
=> D
, B
=> False);
21 X1
: Derived
(D
=> Int
(Ident
(7)));