c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / discr9.adb
blob199855f57fc8a52dea871bba68acda64bbfae900
1 -- { dg-do compile }
3 package body Discr9 is
5 procedure Proc (From : in R; To : out R) is
6 begin
7 To := R'(D1 => False, D2 => From.D2, Field => From.Field);
8 end;
10 end Discr9;