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

module T11554 where

import Data.Kind

data P (x :: k) = Q

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