summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail147.hs
blob: 1ca703a403466ca411e0e34f4a60768a69bd4a27 (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