Retro68/gcc/gcc/testsuite/gnat.dg/loop_optimization8_pkg2.adb
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

14 lines
285 B
Ada

package body Loop_Optimization8_Pkg2 is
function Length (Set : T) return Natural is
begin
return Set.Length;
end Length;
function Index (Set : T; Position : Natural) return Integer is
begin
return Set.Elements (Position);
end Index;
end Loop_Optimization8_Pkg2;