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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gnat.dg/] [loop_optimization8_pkg2.ads] - Blame information for rev 714

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

Line No. Rev Author Line
1 696 jeremybenn
package Loop_Optimization8_Pkg2 is
2
 
3
  type Array_T is array (Natural range <>) of Integer;
4
 
5
  type Obj_T (Length : Natural) is
6
    record
7
      Elements : Array_T (1 .. Length);
8
    end record;
9
 
10
  type T is access Obj_T;
11
 
12
  function Length (Set : T) return Natural;
13
  function Index (Set : T; Position : Natural) return Integer;
14
  pragma Inline (Length, Index);
15
 
16
end Loop_Optimization8_Pkg2;

powered by: WebSVN 2.1.0

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