Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gnat.dg/loop_optimization8_pkg2.ads @ 158:494b0b89df80 default tip
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 18:13:55 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
package Loop_Optimization8_Pkg2 is type Array_T is array (Natural range <>) of Integer; type Obj_T (Length : Natural) is record Elements : Array_T (1 .. Length); end record; type T is access Obj_T; function Length (Set : T) return Natural; function Index (Set : T; Position : Natural) return Integer; pragma Inline (Length, Index); end Loop_Optimization8_Pkg2;