summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc078.hs
blob: de5e748d20ed5017319fc6d14b556764746771e4 (plain)
1
2
3
4
5
6
7
8
-- !!! instance decls with no binds
--
module ShouldFail where

data Bar a = MkBar Int a

instance Eq a => Eq (Bar a)
instance Ord a => Ord (Bar a)