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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gnat.dg/] [array7.ads] - Blame information for rev 304

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 304 jeremybenn
package Array7 is
2
 
3
   package Range_Subtype is
4
      type Arr is array (Positive range <>) of Integer;
5
      type Arr_Acc is access Arr;
6
 
7
      subtype My_Range is Integer range 1 .. 25;
8
      function Get_Arr (Nbr : My_Range) return Arr_Acc;
9
   end;
10
 
11
   package Range_Type is
12
 
13
      type My_Range is range 1 .. 25;
14
      type Arr is array (My_Range range <>) of Integer;
15
      type Arr_Acc is access Arr;
16
 
17
      function Get_Arr (Nbr : My_Range) return Arr_Acc;
18
   end;
19
 
20
end Array7;

powered by: WebSVN 2.1.0

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