Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / discr37.ads
blob7d91b2d594e591b7db8610c402ca509e8bf54805
1 package Discr37 is
3 subtype Index is Integer range 0 .. 100;
5 type Root;
6 type Frame_Ptr is access all Root'Class;
8 type Arr is array (Index range <>) of Frame_Ptr;
10 type Root (Level : Index) is tagged record
11 S : Arr (0 .. Level);
12 end record;
14 type Derived (Level : Index) is new Root (Level) with null record;
16 type Child is new Derived (0) with record
17 F : Arr (0 .. 100);
18 end record;
20 procedure Proc (A : access Child);
22 end Discr37;