blob: 9e6a8b920a5ed7f6661e087de6c2c20673eda3e2 [file] [log] [blame]
package main // @what pkgdecl "main"
// Tests of 'what' queries.
// See go.tools/guru/guru_test.go for explanation.
// See what.golden for expected query results.
func main() {
f() // @what call "f"
var ch chan int // @what var "var"
<-ch // @what recv "ch"
}