summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/SigTvKinds3.hs
blob: b27be2e9c68d540248b74033f4defe72501a3994 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE GADTs, ExplicitForAll, TypeInType #-}

module SigTvKinds3 where

import Data.Kind

data SameKind :: k -> k -> Type
data Bad a where
  MkBad :: forall k1 k2 (a :: k1) (b :: k2). Bad (SameKind a b)