Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gnat.dg / array16.ads
bloba54a2df45d610bf13419528b4d02979ee8902f12
1 with Array16_Pkg;
3 package Array16 is
5 type T1 (D : Integer) is record
6 case D is
7 when 1 => I : Integer;
8 when others => null;
9 end case;
10 end record;
12 type Arr is array (Integer range <>) of Integer;
14 type My_T1 is new T1 (Array16_Pkg.N);
15 type My_T2 is new Arr (1 .. Integer'Min (2, Array16_Pkg.N));
17 function F1 (A : access My_T1) return My_T1;
18 pragma Inline (F1);
20 function F2 (A : access My_T2) return My_T2;
21 pragma Inline (F2);
23 procedure Proc (A : access My_T1; B : access My_T2);
25 end Array16;