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