| 1 |
// Copyright 2018 The Go Authors. All rights reserved. |
| 2 |
// Use of this source code is governed by a BSD-style |
| 3 |
// license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
package main |
| 6 |
|
| 7 |
import "fmt" |
| 8 |
|
| 9 |
func B(c chan bool) { |
| 10 |
go func() { |
| 11 |
fmt.Println(1.5) |
| 12 |
c <- true |
| 13 |
}() |
| 14 |
} |