Preserving locations for variable-uses and constants (PR c++/43486)
[official-gcc.git] / gcc / testsuite / gnat.dg / deferred_const4.ads
blob18a4171e8b2da149285bbe286f1340dd86e4be3c
1 with Deferred_Const4_Pkg;
3 package Deferred_Const4 is
5 type R1 is tagged record
6 I1 : Integer;
7 end record;
9 type R2 is new R1 with record
10 I2 : Integer;
11 end record;
13 package My_Q is new Deferred_Const4_Pkg (R2);
15 function F return My_Q.T;
17 end Deferred_Const4;