1--  { dg-do compile }
2
3package body Generic_Inst2 is
4   procedure Foo (X : not null access T) is null;
5end;
6