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