blob: 8f2d5777f834cb3ba23b9fe9ff768b90b04ae732 [file] [log] [blame]
package body Inline6_Pkg is
procedure Test (I : Integer) is
function F (J : Integer) return Integer is
begin
return I - J;
end;
pragma Inline (F);
begin
if I /= F (I) then
raise Program_Error;
end if;
end;
end Inline6_Pkg;