(root)/
gcc-13.2.0/
gcc/
testsuite/
gnat.dg/
limited_with.adb
-- { dg-do compile }

with Pack1;
package body limited_with is
   procedure Print_2 (Obj : access Pack1.Nested.Rec_Typ) is
   begin
      null;
   end;
end limited_with;