blob: 4939f86b50ba0e080ee3a6c199b33b629e121935 [file] [log] [blame]
package testy
import (
"testing"
sig "golang.org/x/tools/internal/lsp/signature"
"golang.org/x/tools/internal/lsp/snippets"
)
func TestSomething(t *testing.T) { //@item(TestSomething, "TestSomething(t *testing.T)", "", "func")
var x int //@mark(testyX, "x"),diag("x", "compiler", "x declared but not used", "error"),refs("x", testyX)
a() //@mark(testyA, "a")
}
func _() {
_ = snippets.X(nil) //@signature("nil", "X(_ map[sig.Alias]types.CoolAlias) map[sig.Alias]types.CoolAlias", 0)
var _ sig.Alias
}