2016-11-21 Thomas Preud'homme <thomas.preudhomme@arm.com>
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / loop_optimization1_pkg.adb
blobf55dbb07f75b75036d7607d8ab45108e5a09f1d7
1 package body Loop_Optimization1_Pkg is
3 type Unconstrained_Array_Type
4 is array (Index_Type range <>) of Element_Type;
6 procedure Local (UA : in out Unconstrained_Array_Type) is
7 begin
8 null;
9 end;
11 procedure Proc (CA : in out Constrained_Array_Type) is
12 begin
13 Local (Unconstrained_Array_Type (CA));
14 end;
16 end Loop_Optimization1_Pkg;