aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue9521.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue9521.go')
-rw-r--r--test/fixedbugs/issue9521.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/issue9521.go b/test/fixedbugs/issue9521.go
index a33f0483f3..1ad40bdfda 100644
--- a/test/fixedbugs/issue9521.go
+++ b/test/fixedbugs/issue9521.go
@@ -13,6 +13,6 @@ func f() (_, _ []int) { return }
func g() (x []int, y float64) { return }
func main() {
- _ = append(f()) // ERROR "cannot use \[\]int value as type int in append"
- _ = append(g()) // ERROR "cannot use float64 value as type int in append"
+ _ = append(f()) // ERROR "cannot use \[\]int value as type int in append|incompatible type"
+ _ = append(g()) // ERROR "cannot use float64 value as type int in append|incompatible type"
}