blob: b3dd20304bf5b2db70bdc47dd655c367d6e0ac8f [file] [log] [blame]
// +build ignore
package main
var a int
type t struct {
a *map[string]chan *int
}
func fn() []t {
m := make(map[string]chan *int)
m[""] = make(chan *int, 1)
m[""] <- &a
return []t{t{a: &m}}
}
func main() {
x := fn()
print(x) // @pointstoquery <-(*x[i].a)[key] main.a
}