2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gnat.dg / array17.adb
blob8814ee2dd8d99c78cc1bedcb749166a6f218385e
1 -- { dg-do compile }
3 with Array17_Pkg; use Array17_Pkg;
5 procedure Array17 is
6 X : aliased Varray := (1 .. 8 => 1.0);
7 Y : Varray (1 .. 8) := (others => -1.0);
8 R : Varray (1 .. 8);
9 begin
10 R (1 .. 4) := Y (1 .. 4) + X (1 .. 4);
11 end;