]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/convert2.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / convert2.go
index 8e43967aaaea5796b5e4ffe725e639013594957f..ef93fe1f9bda37941071aa3c8c1217d2a367a150 100644 (file)
@@ -316,11 +316,11 @@ func _() {
 
 func _() {
        var s []byte
-       _ = ([4]byte)(s) // ERROR "cannot convert"
+       _ = ([4]byte)(s)
        _ = (*[4]byte)(s)
 
        type A [4]byte
-       _ = (A)(s) // ERROR "cannot convert"
+       _ = (A)(s)
        _ = (*A)(s)
 
        type P *[4]byte