summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T16244.hs
blob: 9b29c2237ac5e4000bd38eeb8841f44c3caebf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PolyKinds #-}
module T16244 where

import Data.Kind

type Const a b = a
type SameKind (a :: k) (b :: k) = (() :: Constraint)
class SameKind a b => C (k :: Const Type a) (b :: k)