Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / corr_discr.ads
blob70ea860565f8ed64be96d82254358588f3c05abf
1 package Corr_Discr is
3 type Base (T1 : Boolean := True; T2 : Boolean := False)
4 is null record;
5 for Base use record
6 T1 at 0 range 0 .. 0;
7 T2 at 0 range 1 .. 1;
8 end record;
10 type Deriv (D : Boolean := False) is new Base (T1 => True, T2 => D);
12 end Corr_Discr;