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
PR inline-asm/84742
[official-gcc.git]
/
gcc
/
testsuite
/
go.go-torture
/
execute
/
go-2.go
blob
8ce5fc8791cef2ecb762a5c7bb7eb66761ae9ca4
1
package
main
2
3
func
send_one
(
c
chan
<-
int
,
val
int
) {
4
c
<-
val
;
5
}
6
7
func
main
() {
8
c
:=
make
(
chan
int
);
9
go
send_one
(
c
,
0
);
10
if
<-
c
!=
0
{
panic
(
0
) }
11
}