repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
runtime: allow preemption in fast syscall return
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
no_exc_prop.adb
blob
68e2b1d210f0bec3e7dd9a0fbd5eeb59ef7da245
1
-- { dg-do compile }
2
-- { dg-options "-gnatwa" }
3
4
package body
no_exc_prop
is
5
protected body
Simple_Barrier
is
6
entry
Wait
when
Signaled
is
7
begin
8
Signaled
:=
False
;
9
end
Wait
;
10
procedure
Signal
is
11
begin
12
Signaled
:=
True
;
13
end
Signal
;
14
end
Simple_Barrier
;
15
end
no_exc_prop
;