aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.3/gcc/testsuite/gnat.dg/itypes.adb
blob: fc9f10dcb7419e3723064dc1f6f8d8523cd1e692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--  { 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;