diff options
Diffstat (limited to 'test/closure.go')
-rw-r--r-- | test/closure.go | 1 |
1 files changed, 1 insertions, 0 deletions
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() |