From 04b08da9af0c450d645ab7389d1467308cfc2db8 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 4 Mar 2013 21:27:36 +0100 Subject: Imported Upstream version 1.1~hg20130304 --- test/closure.go | 1 + 1 file changed, 1 insertion(+) (limited to 'test/closure.go') diff --git a/test/closure.go b/test/closure.go index ae38900ba..c4a312464 100644 --- a/test/closure.go +++ b/test/closure.go @@ -81,6 +81,7 @@ func h() { func newfunc() func(int) int { return func(x int) int { return x } } func main() { + runtime.GOMAXPROCS(1) var fail bool go f() -- cgit v1.2.3