Fix warning on new Ada testcase
[official-gcc.git] / gcc / testsuite / gnat.dg / varsize4.adb
blob0ea5135b7fc8b04a96092a68c51cb1f87d412f65
1 -- { dg-do compile }
3 package body Varsize4 is
5 function Func (Bytes_Read : out Natural) return Arr is
6 Ret : Arr := (others => False);
7 begin
8 Bytes_Read := 0;
9 return Ret;
10 end;
12 function Get return Natural is
13 Data : Arr;
14 Bytes : Natural;
15 begin
16 Data := Func (Bytes);
17 return Bytes;
18 end;
20 end Varsize4;