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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [array7.ads] - Rev 696

Compare with Previous | Blame | View Log

package Array7 is
 
   package Range_Subtype is
      type Arr is array (Positive range <>) of Integer;
      type Arr_Acc is access Arr;
 
      subtype My_Range is Integer range 1 .. 25;
      function Get_Arr (Nbr : My_Range) return Arr_Acc;
   end;
 
   package Range_Type is
 
      type My_Range is range 1 .. 25;
      type Arr is array (My_Range range <>) of Integer;
      type Arr_Acc is access Arr;
 
      function Get_Arr (Nbr : My_Range) return Arr_Acc;
   end;
 
end Array7;
 

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.