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

import GHC.Prim( Constraint )

type family F a :: Constraint

class (F a) => C a where