blob: 4e0e9f739bffa4e090e7897cdca8892d5ed2d72f [file]
// This code relies on pre-go1.28 string(integer) conversion rules;
// the build tag downgrades the file to go1.21 (the oldest version
// to which a build tag can downgrade).
//go:build go1.21
package fix
type mystring string
func _(x int16) mystring {
return mystring(x) // want `conversion from int16 to mystring \(string\)...`
}