1 2 3 4 5 6 7 8 9 10
-- { dg-options "-gnatws" } procedure Deep_Old (X : Integer) is begin begin if X = X'Old then null; end if; end; end Deep_Old;