//golangcitest:args -Egovet
//golangcitest:config_path testdata/govet_fix.yml
//golangcitest:expected_exitcode 0
package testdata

import (
	"fmt"
	"log"
	"os"
)

type Foo struct {
	A []string
	B bool
	C string
	D int8
	E int32
}

func nonConstantFormat(s string) {
	fmt.Printf("%s", s)
	fmt.Printf(s, "arg")
	fmt.Fprintf(os.Stderr, "%s", s)
	log.Printf("%s", s)
}

func _() {
	ReadFile("")
}

//go:fix inline
func ReadFile(filename string) ([]byte, error) {
	return os.ReadFile(filename)
}
