tools/internal/lsp/testdata/bad/bad_util.go

7 lines
99 B
Go

package bad
func random2(y int) int {
x := 6 //@diag("x", "x declared but not used")
return y
}