Fortran: Fix Explicit cobounds of a procedures parameter not respected [PR78466]
[official-gcc.git] / gcc / testsuite / gnat.dg / lto16.adb
blob271a6c591f2c9ab06c767d55fd2234a67ce220c2
1 -- { dg-do link }
2 -- { dg-options "-O -flto" { target lto } }
4 with Lto16_Pkg; use Lto16_Pkg;
5 with Text_IO; use Text_IO;
7 procedure Lto16 is
8 begin
9 if F = 0.0 then
10 Put_Line ("zero");
11 else
12 Put_Line ("non-zero");
13 end if;
14 exception
15 when others => Put_Line ("exception");
16 end;