PR debug/66535
[official-gcc.git] / gcc / testsuite / gnat.dg / inline3_pkg.adb
blob229075b92bff3ffe70bf51cdfc57a7508f195c61
1 package body Inline3_Pkg is
3 procedure Test (I : Integer) is
5 function F (J : Integer) return Integer is
7 begin
8 return I - J;
9 end;
11 begin
12 if I /= F (I) then
13 raise Program_Error;
14 end if;
15 end;
17 end Inline3_Pkg;