aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug13343.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-09-21 20:52:00 -0700
committerGopher Robot <gobot@golang.org>2022-09-23 20:27:09 +0000
commitc58bfeeb045895f080fff9c76fdbf3d9d8ab683b (patch)
treef6cdce6581c4ca203845d1d9dfed64856abd909a /test/fixedbugs/bug13343.go
parent5d213a3dc764624e3f01d7e957fedc63bfdcfa0f (diff)
downloadgo-c58bfeeb045895f080fff9c76fdbf3d9d8ab683b.tar.xz
cmd/compile: use "init... cycle" instead of "init... loop" in error messages
For #55326. Change-Id: Ia3c1124305986dcd49ac769e700055b263cfbd59 Reviewed-on: https://go-review.googlesource.com/c/go/+/432615 Reviewed-by: Robert Findley <rfindley@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'test/fixedbugs/bug13343.go')
-rw-r--r--test/fixedbugs/bug13343.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug13343.go b/test/fixedbugs/bug13343.go
index a7febeae7e..75b3f017e7 100644
--- a/test/fixedbugs/bug13343.go
+++ b/test/fixedbugs/bug13343.go
@@ -7,7 +7,7 @@
package main
var (
- a, b = f() // ERROR "initialization loop|depends upon itself|depend upon each other"
+ a, b = f() // ERROR "initialization cycle|depends upon itself|depend upon each other"
c = b // GCCGO_ERROR "depends upon itself|depend upon each other"
)