Source file misc/cgo/testplugin/testdata/issue24351/plugin.go

     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  }
    15  

View as plain text