diff --git a/test/fixedbugs/bug022.go b/test/fixedbugs/bug022.go index 6ea233d05db..79641487079 100644 --- a/test/fixedbugs/bug022.go +++ b/test/fixedbugs/bug022.go @@ -9,7 +9,7 @@ package main func putint(digits *string) { var i byte; i = (*digits)[7]; // compiles - i = digits[7]; // ERROR "illegal" + i = digits[7]; // ERROR "illegal|is not" } func main() {