summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T11611.hs
blob: e4ee9775bffc5691adc8c2e527fa9f5a0584c7cc (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE DataKinds, StandaloneDeriving, TypeOperators, GADTs, FlexibleInstances #-}

module T11611 where

data A a where
  A :: A (a:as) -> a -> A as

deriving instance Show a => Show (A a)