OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'trunk' of git://gcc.gnu.org/git/gcc into rework
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
go.go-torture
/
execute
/
go-1.go
1
package main
2
3
func send_one(c chan <- int) {
4
c <- 0;
5
}
6
7
func main() {
8
c := make(chan int);
9
go send_one(c);
10
if <-c != 0 { panic(0) }
11
}