PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gnat.dg / renaming4.ads
blob4fdc9c108827c18b4c78b714c5309300f4434438
1 package Renaming4 is
3 type Big_Array is array (Natural range <>) of Integer;
5 subtype Index is Natural range 1..4;
6 subtype My_Array is Big_Array(Index);
8 A : constant My_Array := (1, 2, 3, 4);
10 subtype Small is Index range 1..2;
11 subtype Small_Array is Big_Array(Small);
13 B : Small_Array renames A(Index);
15 end Renaming4;