summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail214.hs
blob: 553dfcfcc69adad7537200dda82edd3bca0fa03d (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TypeFamilies, ConstraintKinds #-}
module ShouldFail where

type family F a :: Constraint

class C a where
instance (F a) => C [a] where