2018-08-18 23:04:27 +03:00

10 lines
163 B
Go

// args: -Egofmt
package testdata
import "fmt"
func GofmtNotSimplified() {
var x []string
fmt.Print(x[1:len(x)]) // ERROR "File is not `gofmt`-ed with `-s`"
}