blob: a16471592160341cb964a714090b6c7cb8368261 [file] [log] [blame]
package refs
type i int //@mark(typeInt, "int"),refs("int", typeInt, argInt, returnInt)
func _(_ int) []bool { //@mark(argInt, "int")
return nil
}
func _(_ string) int { //@mark(returnInt, "int")
return 0
}
var q string //@mark(declQ, "q"),refs("q", declQ, assignQ, bobQ)
func _() {
q = "hello" //@mark(assignQ, "q")
bob := func(_ string) {}
bob(q) //@mark(bobQ, "q")
}