summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/typecheck/should_fail/tcfail127.hs
blob: 32b9e37de591e55b7bdd54811b1cb4e733793cfb (plain)
1
2
3
4
5
6
7
module ShouldFail where

foo :: IO (Num a => a -> a)
foo = error "urk"

-- baz :: (Num a => a -> a) -> Int
-- baz = error "urk"