diff options
Diffstat (limited to 'test/recover.go')
-rw-r--r-- | test/recover.go | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/recover.go b/test/recover.go index eea655ec5..7c27d7c4d 100644 --- a/test/recover.go +++ b/test/recover.go @@ -8,15 +8,21 @@ package main -import "runtime" +import ( + "os" + "runtime" +) func main() { test1() test1WithClosures() test2() test3() - test4() - test5() + // exp/ssa/interp still has some bugs in recover(). + if os.Getenv("GOSSAINTERP") == "" { + test4() + test5() + } test6() test6WithClosures() test7() |