summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/pointer_array.adb
blob: a1c72daae876358cfa0f2d95bc2e6827ca2980bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- { dg-do compile }

procedure pointer_array is

   type Node;
   type Node_Ptr is access Node;
   type Node is array (1..10) of Node_Ptr;

   procedure Process (N : Node_Ptr) is
   begin
      null;
   end;

begin
   null;
end;