blob: f0c24d6356ebc33ab974a6cbcbb100eab869c30e [file] [log] [blame]
-- gofmt --
package format //@format("package")
import (
"fmt"
"log"
"runtime"
)
func hello() {
var x int //@diag("x", "compiler", "x declared (and|but) not used", "error")
}
func hi() {
runtime.GOROOT()
fmt.Printf("")
log.Printf("")
}