summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/T12911.hs
blob: af3af3c5f377afc57fc3bff4e07a8d11d3abeaec (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 (a :: TYPE r). (a -> a) -> X