blob: 2ff6e090733357bf8c26645d440786aaff924dde [file] [log] [blame]
package badstmt
import (
"golang.org/x/tools/internal/lsp/foo"
)
func _() {
defer foo.F //@complete("F", Foo, IntFoo, StructFoo),diag(" //", "LSP", "function must be invoked in defer statement")
go foo.F //@complete("F", Foo, IntFoo, StructFoo)
}