mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
go/types, types2: fix failing error message test for s390x
Fixes #73206. Change-Id: If27ce5fe7aa71415b6e2d525c78b1f04b88a308b Reviewed-on: https://go-review.googlesource.com/c/go/+/663635 TryBot-Result: Gopher Robot <gobot@golang.org> TryBot-Bypass: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-by: Mark Freeman <mark@golang.org> Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
3a4f077710
commit
559b5d814f
@ -7,9 +7,9 @@ package p
|
||||
import "math"
|
||||
|
||||
var (
|
||||
_ = math.Sin
|
||||
_ = math.SIn /* ERROR "undefined: math.SIn (but have Sin)" */
|
||||
_ = math.sin /* ERROR "name sin not exported by package math" */
|
||||
_ = math.Foo /* ERROR "undefined: math.Foo" */
|
||||
_ = math.foo /* ERROR "undefined: math.foo" */
|
||||
_ = math.Sqrt
|
||||
_ = math.SQrt /* ERROR "undefined: math.SQrt (but have Sqrt)" */
|
||||
_ = math.sqrt /* ERROR "name sqrt not exported by package math" */
|
||||
_ = math.Foo /* ERROR "undefined: math.Foo" */
|
||||
_ = math.foo /* ERROR "undefined: math.foo" */
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user