summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T12911.hs
blob: 8c91632686d700f3b1510e0376e70e5c72c454f7 (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE ExplicitForAll, PolyKinds, GADTSyntax,
             ExistentialQuantification #-}

module T12911 where

import GHC.Exts

data X where
  MkX :: forall r (a :: TYPE r). (a -> a) -> X