diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-05-14 13:50:17 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-05-14 13:50:17 +0100 |
commit | 6729fa6b2be246eca5a903f5311fc5456b20cb5a (patch) | |
tree | 1a923294319c5d68959acb18da0ba0fa231ac1a1 /testsuite/tests/polykinds/T6081.hs | |
parent | 3970d9a52e36f6d2d0ef9755dce5532530b6e01d (diff) | |
download | haskell-6729fa6b2be246eca5a903f5311fc5456b20cb5a.tar.gz |
Test Trac #6081
Diffstat (limited to 'testsuite/tests/polykinds/T6081.hs')
-rw-r--r-- | testsuite/tests/polykinds/T6081.hs | 10 |
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]) + + |