Sign in
go
/
tools
/
7ebc6af015c1bdd4e9d0df35d2bdcd53d3815cee
/
.
/
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
(
""
)
}