summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug192.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2020-12-09 20:14:07 -0800
committerRobert Griesemer <gri@golang.org>2020-12-14 21:28:48 +0000
commit5aca6e78570c4a4826e500613b1bc054bc95142a (patch)
treefa1a4c7a687cd97cf4006002646b216315d10918 /test/fixedbugs/bug192.go
parentdf58f3368e62fbc290b419f0b33b97a984b9ca19 (diff)
downloadgo-git-5aca6e78570c4a4826e500613b1bc054bc95142a.tar.gz
[dev.typeparams] test: finish triaging all outstanding failing tests
Also: Adjusted error patterns for passing test that have different error messages. Change-Id: I216294b4c4855aa93da22cdc3c0b3303e54a8420 Reviewed-on: https://go-review.googlesource.com/c/go/+/277994 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'test/fixedbugs/bug192.go')
-rw-r--r--test/fixedbugs/bug192.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/fixedbugs/bug192.go b/test/fixedbugs/bug192.go
index 679aaed1f2..a22e6a2482 100644
--- a/test/fixedbugs/bug192.go
+++ b/test/fixedbugs/bug192.go
@@ -8,4 +8,6 @@ package main
import "fmt" // GCCGO_ERROR "previous"
-var fmt int // ERROR "redecl|redefinition"
+var _ = fmt.Println // avoid imported and not used error
+
+var fmt int // ERROR "redecl|redefinition|fmt already declared"