1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:14:46 -07:00

go/ssa: avoid no-arg println(), for gccgo compatibility

Change-Id: I5f789ae492ff0f0ad62d89e3ae762ece6c867d20
Reviewed-on: https://go-review.googlesource.com/33573
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Alan Donovan 2016-11-23 17:43:09 -05:00
parent a829d47117
commit 167995c67f

View File

@ -95,7 +95,7 @@ func TestStdlib(t *testing.T) {
// Keep iprog reachable until after we've measured memory usage.
if len(iprog.AllPackages) == 0 {
print() // unreachable
panic("unreachable")
}
allFuncs := ssautil.AllFunctions(prog)