c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / renaming11.adb
blobc9241c28d823d44090355232488c2ed2851099ae
1 -- { dg-do compile }
3 package body Renaming11 is
5 function F (Arg: Ptr3) return Integer is
6 V : Ptr1 renames Arg.all.all;
7 I : Integer renames V.A(1);
8 begin
9 return I;
10 end;
12 end Renaming11;