c++: constrained lambda error-recovery [PR108972]
[official-gcc.git] / gcc / testsuite / gnat.dg / discr59_pkg2.ads
blob01ed5090ebdd4cacd52ebc6e99734abe879fc44d
1 generic
3 Max_Length : Positive;
5 package Discr59_Pkg2 is
7 type Token_Base_Type (Most : Natural) is record
8 Text : String (1 .. Most) := (others => ' ');
9 Last : Natural := 0;
10 Used : Natural := 0;
11 end record;
13 type Token_Type is new Token_Base_Type (Max_Length);
15 end Discr59_Pkg2;