summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T5938.hs
blob: e2c63af8a2847741f748843fc6f57f266dddb20b (plain)
1
2
3
4
5
6
7
{-# LANGUAGE PolyKinds, TypeFamilies, DataKinds #-}
module T5938 where

type family KindFam (a :: k)
type instance KindFam (a :: *) = Int
type instance KindFam (a :: Bool) = Bool
type instance KindFam (a :: Maybe k) = Char -- doesn't work