c++: prvalue of array type [PR111286]
[official-gcc.git] / gcc / testsuite / gnat.dg / lto17.ads
blob19b8a9c7c16d30072e63a25350db947439dd67ff
1 package Lto17 is
3 type Chunk_List_Element;
4 type Chunk_List is access Chunk_List_Element;
6 type Arr is array (Natural range <>) of Integer;
8 type Chunk(Size : Natural) is record
9 Data : Arr(1 .. Size);
10 Where : Natural;
11 end record;
13 type Chunk_List_Element(Size : Natural) is record
14 Chnk : Chunk(Size);
15 Link : Chunk_List;
16 end record;
18 function To_Chunk_List(C : Chunk) return Chunk_List;
20 end Lto17;