2 -- Test that a static link is correctly passed to a subprogram which is
3 -- indirectly called through an aggregate.
5 procedure Nested_Proc1
is
9 procedure P1
(X
: Integer) is
14 type Func_Ptr
is access procedure (X
: Integer);
16 type Arr
is array (1..64) of Integer;
23 procedure P2
(R
: Rec
) is
29 P2
((F
=> P1
'Access, A
=> (others => 0)));