...

Source file src/cmd/cgo/internal/testshared/testdata/trivial/trivial.go

Documentation: cmd/cgo/internal/testshared/testdata/trivial

     1  package main
     2  
     3  func main() {
     4  	// This is enough to make sure that the executable references
     5  	// a type descriptor, which was the cause of
     6  	// https://golang.org/issue/25970.
     7  	c := make(chan int)
     8  	_ = c
     9  }
    10  

View as plain text