summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/renaming3.adb
blob: 335a212212101cd04dff2c7696913605768c55a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
-- { dg-do run }

with Renaming4; use Renaming4;

procedure Renaming3 is
   type A is array(1..16) of Integer;
   Filler : A := (others => 0);
begin
   if B(1) /= 1 then
      raise Program_Error;
   end if;
end;