OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [itypes.adb] - Rev 749

Go to most recent revision | Compare with Previous | Blame | View Log

--  { 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;                 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.