Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / lto16_pkg.adb
blobedfa399369a2967b6740ede7205994412422f476
1 with Ada.Calendar; use Ada.Calendar;
3 package body Lto16_Pkg is
5 function F return Float is
6 F1 : Float := Float (Seconds (Clock));
7 F2 : Float := Float (Seconds (Clock));
8 F : Float;
9 begin
10 if F1 > F2 then
11 F := (F2 - F1) / 2.0;
12 else
13 F := (F1 - F2) / 2.0;
14 end if;
15 return F;
16 end;
18 end Lto16_Pkg;