view gcc/testsuite/gnat.dg/itypes.adb @ 152:2b5abeee2509

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents 04ced10e8804
children
line wrap: on
line source

--  { dg-do compile }

package body itypes is
   Size : constant := 10;
   type Arr is array (1 .. size) of Integer;
   
   type Rec is record
      Field1 : Arr := (others => 0);
      Field2 : Arr := (others => 0);
      Field3 : Arr := (others => 0);
      Field4 : Arr := (others => 0);
      Field5 : Arr := (others => 0);
      Field6 : Arr := (others => 0);
      Field7 : Arr := (others => 0);
   end record;
   
   procedure Proc is
      Temp1 : Rec;
   begin   
      null;
   end;    
end;