summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gnat.dg/deep_old.adb
blob: d7818ff96869fcb95a347dc8e14b522c5a7fcc70 (plain)
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;