Sign in
go
/
tools
/
66af5afb1625d129f8bfad6f7d860d7750410e9d
/
.
/
internal
/
lsp
/
testdata
/
format
/
bad_format.go.in
blob: a2da1401abe17c4ca026dfa9148e408b8c8c0664 [
file
] [
log
] [
blame
]
package
format
//@format("package")
import
(
"runtime"
"fmt"
"log"
)
func hello
()
{
var
x
int
//@diag("x", "compiler", "x declared but not used")
}
func hi
()
{
runtime
.
GOROOT
()
fmt
.
Printf
(
""
)
log
.
Printf
(
""
)
}