From 7ce958b4a5d2a91f20709c2a0978b84cb966ca27 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Thu, 22 Aug 2013 17:10:06 -0400 Subject: [PATCH] go.tools/pointer: fix build breakage. (caused by overlapping pending CLs at commit time). R=crawshaw TBR=crawshaw CC=golang-dev https://golang.org/cl/12820048 --- pointer/pointer_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pointer/pointer_test.go b/pointer/pointer_test.go index b86abe65..997b42a6 100644 --- a/pointer/pointer_test.go +++ b/pointer/pointer_test.go @@ -188,7 +188,7 @@ func doOneInput(input, filename string) bool { ptrmain := mainpkg // main package for the pointer analysis if mainpkg.Func("main") == nil { // No main function; assume it's a test. - ptrmain = prog.CreateTestMainPackage([]*ssa.Package{mainpkg}) + mainpkg.CreateTestMainFunction() fmt.Printf("%s: synthesized testmain package for test.\n", imp.Fset.Position(f.Package)) }