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

module T11554 where

import Data.Kind

data P (x :: k) = Q

data A :: Type where
  B :: forall (a :: A). P a -> A