summaryrefslogtreecommitdiff
path: root/test/rename1.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/rename1.go')
-rw-r--r--test/rename1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rename1.go b/test/rename1.go
index c49a70a263..058db4494a 100644
--- a/test/rename1.go
+++ b/test/rename1.go
@@ -13,7 +13,7 @@ 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"
)
}