libgo: update to Go 1.11
[official-gcc.git] / libgo / misc / cgo / testshared / src / trivial / trivial.go
blob6ade47ce36fb6ff469a0c5bf05b283b2238f91d7
1 package main
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