x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git] / gcc / testsuite / gnat.dg / inline6_pkg.adb
blob8f2d5777f834cb3ba23b9fe9ff768b90b04ae732
1 package body Inline6_Pkg is
3 procedure Test (I : Integer) is
5 function F (J : Integer) return Integer is
6 begin
7 return I - J;
8 end;
9 pragma Inline (F);
11 begin
12 if I /= F (I) then
13 raise Program_Error;
14 end if;
15 end;
17 end Inline6_Pkg;