blob: 83270b64339e7fb4646f3c8f01331bb56e935d0d [file] [log] [blame]
-- { dg-do run }
-- { dg-options "-O2 -gnatp" }
with Opt100_Pkg; use Opt100_Pkg;
procedure Opt100 is
R : constant Rec := (K => B, N => 1);
begin
if Func (R) /= 1 then
raise Program_Error;
end if;
end;