Sign in
go
/
tools
/
master
/
.
/
go
/
analysis
/
passes
/
printf
/
testdata
/
src
/
issue72850
/
a_go125.go
blob: 76aec67c03f211316a88fc299b9a8aef21a0e5f3 [
file
] [
log
] [
blame
]
//go:build !go1.26
package a
import "fmt"
var (
_ = fmt.Sprintf("%q", byte(65))
// ok
_ = fmt.Sprintf("%q", rune(65))
// ok
_ = fmt.Sprintf("%q", 123)
// ok: pre-1.26 code allows %q on any integer
)