re PR c++/84691 (internal compiler error: in poplevel_class, at cp/name-lookup.c...
[official-gcc.git] / gcc / testsuite / gnat.dg / specs / renaming2_pkg4.ads
blobabeffcc7da8c67b406013ed1f60f165b4127271d
1 -- { dg-excess-errors "no code generated" }
3 generic
5 type Length_T is range <>;
7 with function Next return Length_T is <>;
9 type Value_T is private;
11 with function Value (L : Length_T) return Value_T is <>;
13 package Renaming2_Pkg4 is
15 generic
16 type T is private;
17 package Inner is
19 type Slave_T is tagged null record;
21 function Next_Value return Value_T;
23 end Inner;
25 end Renaming2_Pkg4;