diff options
Diffstat (limited to 'test/fixedbugs/issue7310.go')
-rw-r--r-- | test/fixedbugs/issue7310.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue7310.go b/test/fixedbugs/issue7310.go index 1169fcfb..6829d5e1 100644 --- a/test/fixedbugs/issue7310.go +++ b/test/fixedbugs/issue7310.go @@ -11,5 +11,5 @@ package main func main() { _ = copy(nil, []int{}) // ERROR "use of untyped nil" _ = copy([]int{}, nil) // ERROR "use of untyped nil" - _ = 1+true // ERROR "cannot convert true" "mismatched types int and bool" + _ = 1 + true // ERROR "mismatched types untyped int and untyped bool" } |