summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail180.hs
blob: 4c228eeddaa7c3c03861b450658d8bacc60b7833 (plain)
1
2
3
4
5
6
7
8
9
10

-- Showed up a bug in bodySplitTyConApp

module ShouldFail where

p :: f b
p = error "urk"

g x = case p of
        True -> ()