]> Cypherpunks.ru repositories - gostls13.git/blobdiff - test/rename1.go
cmd/compile/internal/inline: score call sites exposed by inlines
[gostls13.git] / test / rename1.go
index c49a70a263d11f064c33323c77a5e7838bf0ce80..56824e99eca75510a81b233d5cd4a4016fd5f02c 100644 (file)
@@ -13,9 +13,9 @@ func main() {
        var n byte         // ERROR "not a type|expected type"
        var y = float32(0) // ERROR "cannot call|expected function"
        const (
-               a = 1 + iota // ERROR "invalid operation|incompatible types"
+               a = 1 + iota // ERROR "invalid operation|incompatible types|cannot convert"
        )
-
+       _, _ = n, y
 }
 
 const (