Sign in
gnu
/
gcc
/
refs/tags/basepoints/gcc-13
/
.
/
gcc
/
testsuite
/
gnat.dg
/
atomic7_pkg2.adb
blob: 547c38818cce6164a6b61a57eaeaf1591ec8eb6f [
file
] [
log
] [
blame
]
pragma
Restrictions
(
No_Elaboration_Code
);
package
body
Atomic7_Pkg2
is
T
:
Natural
:=
0
;
pragma
Atomic
(
T
);
function
Stamp
return
Natural
is
begin
T
:=
T
+
1
;
return
T
;
end
;
end
Atomic7_Pkg2
;