aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue13415.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue13415.go')
-rw-r--r--test/fixedbugs/issue13415.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/issue13415.go b/test/fixedbugs/issue13415.go
index 989a1ed50f..4c4655e547 100644
--- a/test/fixedbugs/issue13415.go
+++ b/test/fixedbugs/issue13415.go
@@ -11,7 +11,7 @@ package p
func f() {
select {
- case x, x := <-func() chan int { // ERROR "x repeated on left side of :="
+ case x, x := <-func() chan int { // ERROR "x repeated on left side of :=|redefinition|declared but not used"
c := make(chan int)
return c
}():