3 // Copyright 2011 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Test select when discarding a value.
13 func recv1(c <-chan int) {
17 func recv2(c <-chan int) {
23 func recv3(c <-chan int) {
31 func send1(recv func(<-chan int)) {
38 func send2(recv func(<-chan int)) {
47 func send3(recv func(<-chan int)) {