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
Fix broken MinGW build of gcc.c
[official-gcc.git]
/
gcc
/
testsuite
/
gnat.dg
/
sync1.adb
blob
08be6395d68125738daa9b0cd6436110e6765a0e
1
-- { dg-do compile }
2
package body
sync1
is
3
protected body
Chopstick
is
4
5
entry
Pick_Up
when not
Busy
is
6
begin
7
Busy
:=
True
;
8
end
Pick_Up
;
9
10
procedure
Put_Down
is
11
begin
12
Busy
:=
False
;
13
end
Put_Down
;
14
end
Chopstick
;
15
end
sync1
;