summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T15789.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T15789.hs')
-rw-r--r--testsuite/tests/polykinds/T15789.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T15789.hs b/testsuite/tests/polykinds/T15789.hs
new file mode 100644
index 0000000000..6465da2a9b
--- /dev/null
+++ b/testsuite/tests/polykinds/T15789.hs
@@ -0,0 +1,10 @@
+{-# Language LiberalTypeSynonyms #-}
+{-# Language PolyKinds #-}
+{-# Language RankNTypes #-}
+{-# Language DataKinds #-}
+
+import Data.Kind
+
+type Cat ob = ob -> ob -> Type
+
+data Zero :: forall (cat :: forall xx. xx -> Type) a. forall b. Cat (forall b. cat b u)