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 f23999998..3e78bfca0 100644
--- a/test/rename1.go
+++ b/test/rename1.go
@@ -10,7 +10,7 @@ func main() {
var n byte // ERROR "not a type|expected type"
var y = float(0) // ERROR "cannot call|expected function"
const (
- a = 1 + iota // ERROR "string|incompatible types"
+ a = 1 + iota // ERROR "string|incompatible types" "convert iota"
)
}