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
This commit is contained in:
Alan Donovan 2013-08-22 17:10:06 -04:00
parent 6643abb26c
commit 7ce958b4a5
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}