summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T12045c.hs
blob: 56c2d15abc2ca695d778e310fa9f27f82c9d09b3 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE PolyKinds, TypeApplications, KindSignatures, DataKinds, GADTs
             , TypeFamilies, RankNTypes #-}

module T12045c where
import Data.Kind

type family F a where
  F @Type a = Bool
  F @(Type -> Type) b = Char