PR ipa/83051
[official-gcc.git] / gcc / testsuite / gnat.dg / address_conv.adb
blob27b3dada9ab652f16a91fdb8c9d8e3c902abcb7c
1 -- { dg-do compile }
3 with System.Storage_Elements; use System.Storage_Elements;
5 procedure Address_Conv is
7 subtype My_Address is System.Address;
9 type Rec is record
10 A : My_Address;
11 end record;
13 Addr : constant My_Address := To_Address (16#FACEFACE#);
15 R : constant Rec := (A => Addr);
17 begin
18 null;
19 end;