golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/fixedbugs/issue66109.txt (about) 1 This test exercises the crash in golang/go#66109: a dangling reference due to 2 test variants of a command-line-arguments package. 3 4 -- flags -- 5 -min_go=go1.22 6 7 -- go.mod -- 8 module example.com/tools 9 10 go 1.22 11 12 -- tools_test.go -- 13 //go:build tools 14 15 package tools //@diag("tools", re"No packages found") 16 17 import ( 18 _ "example.com/tools/tool" 19 ) 20 21 -- tool/tool.go -- 22 package main 23 24 func main() { 25 }