aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue22822.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue22822.go')
-rw-r--r--test/fixedbugs/issue22822.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue22822.go b/test/fixedbugs/issue22822.go
index e449ddb186..ea53452f09 100644
--- a/test/fixedbugs/issue22822.go
+++ b/test/fixedbugs/issue22822.go
@@ -12,5 +12,5 @@ package main
func F() {
slice := []int{1, 2, 3}
len := int(2)
- println(len(slice)) // ERROR "cannot call non-function len .type int., declared at"
+ println(len(slice)) // ERROR "cannot call non-function len .type int., declared at|expected function"
}