summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail147.hs
blob: 83ea462e1a379839c21f2381cef1e7e1e5c9dd17 (plain)
1
2
3
4
5
6
7
module Foo1 where

-- Variant: ill-kinded.
class XClass a where
 xFun :: a -> XData

data XData = XCon XClass