x86: Tune Skylake, Cannonlake and Icelake as Haswell
[official-gcc.git] / gcc / testsuite / gnat.dg / inline10_pkg.adb
blobcf5d8611207bd53c9cb6bd618d6e999952c9b94b
1 package body Inline10_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 type FPT is access function (I : Integer) return Integer;
13 P : FPT := F'Access;
15 begin
16 if I /= P (I) then
17 raise Program_Error;
18 end if;
19 end;
21 end Inline10_Pkg;