PR target/84336
[official-gcc.git] / gcc / testsuite / gnat.dg / discr15_pkg.ads
blob1f3bf286ba19448fc85ec3969927f64bf4dd19c2
1 package Discr15_Pkg is
3 type Moment is new Positive;
5 type Multi_Moment_History is array (Natural range <>, Moment range <>) of Float;
7 type Rec_Multi_Moment_History (Len : Natural; Size : Moment) is
8 record
9 Moments : Multi_Moment_History(0..Len, 1..Size);
10 Last : Natural;
11 end record;
13 function Sub_History_Of (History : Rec_Multi_Moment_History)
14 return Rec_Multi_Moment_History;
16 end Discr15_Pkg;