mirror of
https://github.com/autc04/Retro68.git
synced 2024-06-28 11:30:19 +00:00
16 lines
315 B
Ada
16 lines
315 B
Ada
-- { dg-do run }
|
|
-- { dg-options "-O" }
|
|
|
|
with Loop_Optimization3_Pkg; use Loop_Optimization3_Pkg;
|
|
|
|
procedure Loop_Optimization3 is
|
|
|
|
type Arr is array (Integer range -3 .. 3) of Integer;
|
|
C : constant Arr := (1, others => F(2));
|
|
|
|
begin
|
|
if C /= (1, 2, 2, 2, 2, 2, 2) then
|
|
raise Program_Error;
|
|
end if;
|
|
end;
|