2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / array3.ads
blob3ef39f38e73363642eda93aa6f591bc7f24ac53f
1 -- PR middle-end/56474
2 -- Reported by Pavel Zhukov <pavel@zhukoff.net>
4 -- { dg-do compile }
6 with Ada.Streams;
8 package Array3 is
10 use type Ada.Streams.Stream_Element_Offset;
12 type Vector (Size : Ada.Streams.Stream_Element_Offset) is record
13 Value : Ada.Streams.Stream_Element_Array (0 .. Size);
14 end record;
16 Empty_Vector : Vector (-1);
18 end Array3;