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

package body Generic_Inst2 is
   procedure Foo (X : not null access T) is null;
end;