1with System;
2
3package Init1 is
4
5  type R1 is record
6    I : Integer;
7  end record;
8  for R1'Bit_Order use System.Low_Order_First;
9  for R1'Scalar_Storage_Order use System.Low_Order_First;
10  for R1 use record
11    I at 0 range 0 .. 31;
12  end record;
13
14  type R2 is record
15    I : Integer;
16  end record;
17  for R2'Bit_Order use System.High_Order_First;
18  for R2'Scalar_Storage_Order use System.High_Order_First;
19  for R2 use record
20    I at 0 range 0 .. 31;
21  end record;
22
23  My_R1 : constant R1 := (I => 16#12345678#);
24  My_R2 : constant R2 := (I => 16#12345678#);
25
26end Init1;
27