PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gnat.dg / discr40.adb
blobea1b46aa7649de9e732bbe7d6b07b00dd9f36f91
1 -- { dg-do compile }
2 -- { dg-options "-gnat12 -gnata" }
4 package body Discr40 is
6 procedure Push (S: in out Stack; E : Element) is
7 begin
8 S.Length := S.Length + 1;
9 S.Data(S.Length) := E;
10 end Push;
12 end Discr40;