c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / type_conv2.ads
blobb9ddeb2c57ff73407eba197798f74a6ee9898d2f
1 package Type_Conv2 is
3 type Root is abstract tagged limited null record;
5 type Der_I is new Root with record
6 X : Integer;
7 end record;
9 function Wrap (X : Integer) return Root'Class;
11 procedure Proc_Static;
13 end Type_Conv2;