Sign in
go
/
tools
/
665c9227d976a1d04326dabe85ccc428fc8218bc
/
.
/
gopls
/
internal
/
lsp
/
testdata
/
format
/
bad_format.go.in
blob: 995ec399a115b08a46a00ec8b07423cd66e153c1 [
file
] [
log
] [
blame
]
package
format
//@format("package")
import
(
"runtime"
"fmt"
"log"
)
func hello
()
{
var
x
int
//@diag("x", "compiler", "x declared (and|but) not used", "error")
}
func hi
()
{
runtime
.
GOROOT
()
fmt
.
Printf
(
""
)
log
.
Printf
(
""
)
}