diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/fixedbugs/bug205.go')
-rw-r--r-- | gcc/testsuite/go.test/test/fixedbugs/bug205.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/go.test/test/fixedbugs/bug205.go b/gcc/testsuite/go.test/test/fixedbugs/bug205.go index de17cb69841..1e0d9d1f34d 100644 --- a/gcc/testsuite/go.test/test/fixedbugs/bug205.go +++ b/gcc/testsuite/go.test/test/fixedbugs/bug205.go @@ -11,8 +11,8 @@ var s string; var m map[string]int; func main() { - println(t["hi"]); // ERROR "integer" - println(s["hi"]); // ERROR "integer" "to type uint" - println(m[0]); // ERROR "map index" + println(t["hi"]); // ERROR "non-integer slice index|must be integer" + println(s["hi"]); // ERROR "non-integer string index|must be integer" + println(m[0]); // ERROR "cannot use.*as type string" } |