blob: 479b481cbe42944ea5a699e6d9701a8db7141766 [file] [log] [blame]
package typemods
func fooFunc() func() int { //@item(modFooFunc, "fooFunc", "func() func() int", "func")
return func() int {
return 0
}
}
func fooPtr() *int { //@item(modFooPtr, "fooPtr", "func() *int", "func")
return nil
}
func _() {
var _ int = foo //@snippet(" //", modFooFunc, "fooFunc()()", "fooFunc()()"),snippet(" //", modFooPtr, "*fooPtr()", "*fooPtr()")
}