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
libgo: update to Go 1.10.2 release
[official-gcc.git]
/
libgo
/
misc
/
cgo
/
testplugin
/
src
/
issue24351
/
plugin.go
blob
db17e0a6097c29686d7f782054f3ad14e7fc10d4
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
}