blob: 3d690bde079c6d0cf243da4ea0dd034729d48076 [file] [log] [blame]
-- { dg-do compile }
-- { dg-options "-gnatc" }
limited with Limited_With4;
package Limited_With4_Pkg is
type Object is tagged null record;
type Object_Ref is access all Object;
type Class_Ref is access all Object'Class;
function Func return Limited_With4.Class_Ref;
procedure Proc (Arg : Limited_With4.Class_Ref);
end Limited_With4_Pkg;