mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
10 lines
203 B
Go
10 lines
203 B
Go
|
|
package main
|
||
|
|
|
||
|
|
func main() {
|
||
|
|
// This is enough to make sure that the executable references
|
||
|
|
// a type descriptor, which was the cause of
|
||
|
|
// https://golang.org/issue/25970.
|
||
|
|
c := make(chan int)
|
||
|
|
_ = c
|
||
|
|
}
|