Skip to content

Commit 559b5d8

Browse files
author
Mark Freeman
committed
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 <[email protected]> TryBot-Bypass: Dmitri Shuralyov <[email protected]> Reviewed-by: Robert Griesemer <[email protected]> Reviewed-by: Mark Freeman <[email protected]> Run-TryBot: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]>
1 parent 3a4f077 commit 559b5d8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/internal/types/testdata/fixedbugs/issue70549.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ package p
77
import "math"
88

99
var (
10-
_ = math.Sin
11-
_ = math.SIn /* ERROR "undefined: math.SIn (but have Sin)" */
12-
_ = math.sin /* ERROR "name sin not exported by package math" */
13-
_ = math.Foo /* ERROR "undefined: math.Foo" */
14-
_ = math.foo /* ERROR "undefined: math.foo" */
10+
_ = math.Sqrt
11+
_ = math.SQrt /* ERROR "undefined: math.SQrt (but have Sqrt)" */
12+
_ = math.sqrt /* ERROR "name sqrt not exported by package math" */
13+
_ = math.Foo /* ERROR "undefined: math.Foo" */
14+
_ = math.foo /* ERROR "undefined: math.foo" */
1515
)

0 commit comments

Comments
 (0)