summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marlow <marlowsd@gmail.com>2011-10-10 15:16:05 +0100
committerSimon Marlow <marlowsd@gmail.com>2011-11-02 11:03:44 +0000
commit275a8418b1a15219811738cb135813f364c7c59b (patch)
tree26e9aa75066d00505a71ca5ffffe51ec5ed30110
parent85096039040fd8a533c2d4abd013987acf128e5b (diff)
downloadhaskell-275a8418b1a15219811738cb135813f364c7c59b.tar.gz
make cg057 compile
-rw-r--r--testsuite/tests/codeGen/should_run/cgrun057.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun057.hs b/testsuite/tests/codeGen/should_run/cgrun057.hs
index 09119546fb..98f90db15a 100644
--- a/testsuite/tests/codeGen/should_run/cgrun057.hs
+++ b/testsuite/tests/codeGen/should_run/cgrun057.hs
@@ -1,6 +1,6 @@
-- For testing +RTS -xc
import Control.Exception
-main = try (evaluate (f ()))
+main = try (evaluate (f ())) :: IO (Either SomeException ())
f x = g x