summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2016-05-10 15:14:11 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2016-05-10 15:14:11 +0100
commitf6e58be297f97e8871396f80a81fe3a9984d77b9 (patch)
treec4fc762e7c44d864e4cbb9b0c3dde71235312886
parent1a43783edd3bda2b934aaedf2f68b4d0e0c5eb02 (diff)
downloadhaskell-f6e58be297f97e8871396f80a81fe3a9984d77b9.tar.gz
Test Trac #11640
-rw-r--r--testsuite/tests/polykinds/T11640.hs7
-rw-r--r--testsuite/tests/polykinds/all.T1
2 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T11640.hs b/testsuite/tests/polykinds/T11640.hs
new file mode 100644
index 0000000000..16d9f7ccff
--- /dev/null
+++ b/testsuite/tests/polykinds/T11640.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE RankNTypes, TypeInType #-}
+
+module T11640 where
+
+import Data.Kind
+
+data HEq :: forall k1. k1 -> forall k2. k2 -> Type where
diff --git a/testsuite/tests/polykinds/all.T b/testsuite/tests/polykinds/all.T
index f2e274b060..2c3d1df866 100644
--- a/testsuite/tests/polykinds/all.T
+++ b/testsuite/tests/polykinds/all.T
@@ -147,3 +147,4 @@ test('T11648', normal, compile, [''])
test('T11648b', normal, compile_fail, [''])
test('KindVType', normal, compile_fail, [''])
test('T11821', normal, compile, [''])
+test('T11640', normal, compile, [''])