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

module TyVarTvKinds3 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)