summaryrefslogtreecommitdiff
path: root/testsuite/tests/dependent/should_compile/mkGADTVars.hs
blob: 9b48e8c39512f7213e7f3ab00af5523ff87bac47 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE GADTs, PolyKinds #-}

module GADTVars where

import Data.Kind
import Data.Proxy

data T (k1 :: *) (k2 :: *) (a :: k2) (b :: k2) where
  MkT :: T x1 * (Proxy (y :: x1), z) z