Fix broken MinGW build of gcc.c
[official-gcc.git] / gcc / testsuite / gnat.dg / debug4_pkg.ads
blobbac4953f6bc53d7e67e74c9acce3272ad6319124
1 with Ada.Containers.Vectors;
3 generic
4 type Vertex_Key is private;
5 package Debug4_Pkg is
7 type Vertex_Id is new Natural;
8 subtype Valid_Vertex_Id is Vertex_Id range 1 .. Vertex_Id'Last;
10 package VIL is new Ada.Containers.Vectors
11 (Index_Type => Positive,
12 Element_Type => Valid_Vertex_Id);
13 use VIL;
14 subtype Vertex_Index_List is VIL.Vector;
16 package VL is new Ada.Containers.Vectors
17 (Index_Type => Valid_Vertex_Id,
18 Element_Type => Vertex_Key);
19 use VL;
20 subtype Vertex_List is VL.Vector;
22 type T is tagged record
23 Vertices : Vertex_List;
24 end record;
26 function Dominator_Tree (G : T'Class) return T;
28 end Debug4_Pkg;