blob: 434a71e1eecb23aad3e23e14ff2cdabf404e32d9 [file] [log] [blame]
-- { dg-do run }
procedure Renaming13 is
type Stack_Type_Base is array (Natural range <>) of Integer;
procedure Foo (Buf : in out Stack_Type_Base) is
S : Stack_Type_Base renames Buf;
procedure Init is
begin
S := (others => 0);
end;
begin
Init;
end;
Temp : Stack_Type_Base (1 .. 100);
begin
Foo (Temp);
end;