diff options
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun057.hs')
-rw-r--r-- | testsuite/tests/codeGen/should_run/cgrun057.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun057.hs b/testsuite/tests/codeGen/should_run/cgrun057.hs new file mode 100644 index 0000000000..09119546fb --- /dev/null +++ b/testsuite/tests/codeGen/should_run/cgrun057.hs @@ -0,0 +1,7 @@ +-- For testing +RTS -xc +import Control.Exception +main = try (evaluate (f ())) + +f x = g x + +g x = error (show x) |