summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T6081.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-05-14 13:50:17 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-05-14 13:50:17 +0100
commit6729fa6b2be246eca5a903f5311fc5456b20cb5a (patch)
tree1a923294319c5d68959acb18da0ba0fa231ac1a1 /testsuite/tests/polykinds/T6081.hs
parent3970d9a52e36f6d2d0ef9755dce5532530b6e01d (diff)
downloadhaskell-6729fa6b2be246eca5a903f5311fc5456b20cb5a.tar.gz
Test Trac #6081
Diffstat (limited to 'testsuite/tests/polykinds/T6081.hs')
-rw-r--r--testsuite/tests/polykinds/T6081.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T6081.hs b/testsuite/tests/polykinds/T6081.hs
new file mode 100644
index 0000000000..ac1bd98252
--- /dev/null
+++ b/testsuite/tests/polykinds/T6081.hs
@@ -0,0 +1,10 @@
+{-# LANGUAGE KindSignatures, PolyKinds, DataKinds, RankNTypes #-}
+
+module T6081 where
+
+data KProxy (a :: *) = KP
+
+class KindClass (kp :: KProxy k)
+instance KindClass (KP :: KProxy [k])
+
+