blob: 99f4ee14c983ba6f37f62173ecefc3a5f2549ef1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
-- { dg-do compile }
-- { dg-options "-O -gnatn" }
package body Atomic4 is
procedure Next (Self : in out Reader'Class) is
begin
Self.Current_Reference := Self.Reference_Stack.Last_Element;
Self.Reference_Stack.Delete_Last;
end Next;
end Atomic4;
|