2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / elab3.ads
blob7af6f386d1f69927b7b128b68bd258b75360ea16
1 -- { dg-do compile }
3 pragma Restrictions(No_Elaboration_Code);
5 package Elab3 is
7 type T_List is array (Positive range <>) of Integer;
8 type T_List_Access is access constant T_List;
10 type R is record
11 A : T_List_Access;
12 end record;
14 C : constant R := (A => null);
16 end Elab3;