1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:50:07 -07:00

cmd/link: fix TestUnresolved in module mode

Updates #30228

Change-Id: I9f0e7e59922bd56b17889f72124b7d14b2433218
Reviewed-on: https://go-review.googlesource.com/c/162833
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
This commit is contained in:
Bryan C. Mills 2019-02-15 18:12:28 -05:00
parent 34291f5f3e
commit 583975b934

View File

@ -139,6 +139,7 @@ func TestUnresolved(t *testing.T) {
// linker would find an undefined reference to "zero" created
// by the runtime package.
write("go.mod", "module testunresolved\n")
write("main.go", `package main
func main() {