]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/escape2.go
cmd/compile: enable -d=zerocopy by default
[gostls13.git] / test / escape2.go
index e3e5904cde525bc9b4c2412a1c52b5764e23f837..99f85914a32ed7caa1d3addaf444ff45e4b63ddf 100644 (file)
@@ -1729,7 +1729,7 @@ func intstring2() {
 
 func stringtoslicebyte0() {
        s := "foo"
-       x := []byte(s) // ERROR "\(\[\]byte\)\(s\) does not escape$"
+       x := []byte(s) // ERROR "\(\[\]byte\)\(s\) does not escape$" "zero-copy string->\[\]byte conversion"
        _ = x
 }