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

import GHC.Exts( Constraint )

type family F a :: Constraint

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