blob: 5dc4254ec19ffcb7f5ebb718c7aceb82804ad679 [file] [log] [blame]
// { dg-do compile }
// { dg-options "-fgo-debug-optimization" }
package p
func F(b []byte, x string) string {
return "hello " + string(b) + x // { dg-error "no copy string\\(\\\[\\\]byte\\)" }
}