2018-08-04 09:28:17 +03:00

12 lines
292 B
Go

// args: -Edepguard --depguard.include-go-root --depguard.packages='compress/*,log'
package testdata
import (
"compress/gzip" // ERROR "`compress/gzip` is in the blacklist"
"log" // ERROR "`log` is in the blacklist"
)
func SpewDebugInfo() {
log.Println(gzip.BestCompression)
}