summaryrefslogtreecommitdiff
path: root/testsuite/tests/codeGen/should_run/cgrun057.hs
blob: 09119546fbf5fff2dfde077b9eabc878e05cdae9 (plain)
1
2
3
4
5
6
7
-- For testing +RTS -xc
import Control.Exception
main = try (evaluate (f ()))

f x = g x

g x = error (show x)