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