Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / enum_rep.ads
blobacf282c2da9c7153028b4b2ad54e3ee86bc0ead8
1 with Interfaces;
3 package Enum_Rep is
5 type My_Type is range 00 .. 100;
7 subtype My_Subtype2 is Interfaces.Unsigned_32
8 range My_Type'First'Enum_Rep .. My_Type'Last'Enum_Rep;
10 My_Type_First : constant My_Type := My_Type'First;
11 My_Type_Last : constant My_Type := My_Type'Last;
13 subtype My_Subtype is Interfaces.Unsigned_32
14 range My_Type_First'Enum_Rep .. My_Type_Last'Enum_Rep;
16 subtype My_Subtype1 is Interfaces.Unsigned_32
17 range My_Type'Enum_Rep (My_Type'First) ..
18 My_Type'Enum_Rep (MY_Type'Last);
20 procedure Foo;
22 end;