diff options
Diffstat (limited to 'gcc/testsuite/go.test/test/recover.go')
-rw-r--r-- | gcc/testsuite/go.test/test/recover.go | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gcc/testsuite/go.test/test/recover.go b/gcc/testsuite/go.test/test/recover.go index eea655ec578..7c27d7c4d63 100644 --- a/gcc/testsuite/go.test/test/recover.go +++ b/gcc/testsuite/go.test/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() |