summaryrefslogtreecommitdiff
path: root/tests/examples/pre-ghc86/mkGADTVars.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/pre-ghc86/mkGADTVars.hs')
-rw-r--r--tests/examples/pre-ghc86/mkGADTVars.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examples/pre-ghc86/mkGADTVars.hs b/tests/examples/pre-ghc86/mkGADTVars.hs
new file mode 100644
index 0000000..1e74c69
--- /dev/null
+++ b/tests/examples/pre-ghc86/mkGADTVars.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE GADTs, TypeInType #-}
+
+module GADTVars where
+
+import Data.Kind
+import Data.Proxy
+
+data T (k1 :: *) (k2 :: *) (a :: k2) (b :: k2) where
+ MkT :: T x1 * (Proxy (y :: x1), z) z