diff options
Diffstat (limited to 'test/closure3.dir/main.go')
-rw-r--r-- | test/closure3.dir/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/closure3.dir/main.go b/test/closure3.dir/main.go index 3ec90139a3..5694673f1e 100644 --- a/test/closure3.dir/main.go +++ b/test/closure3.dir/main.go @@ -238,8 +238,7 @@ func main() { if c != 4 { ppanic("c != 4") } - for i := 0; i < 10; i++ { // prevent inlining - } + recover() // prevent inlining }() }() if c != 4 { |