summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T6044.hs
diff options
context:
space:
mode:
authorSimon Peyton Jones <simonpj@microsoft.com>2012-04-26 09:28:45 +0100
committerSimon Peyton Jones <simonpj@microsoft.com>2012-04-26 09:28:45 +0100
commiteb32f344e3c0259cbd98c6384850d1f085d91219 (patch)
tree4a8c7836b68626a0b236eab85c05dc4f198ab385 /testsuite/tests/polykinds/T6044.hs
parentfa48f52a0a2f15433cf7bd333dce457c7b202395 (diff)
downloadhaskell-eb32f344e3c0259cbd98c6384850d1f085d91219.tar.gz
Test Trac #6020 again, and #6044
Diffstat (limited to 'testsuite/tests/polykinds/T6044.hs')
-rw-r--r--testsuite/tests/polykinds/T6044.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T6044.hs b/testsuite/tests/polykinds/T6044.hs
new file mode 100644
index 0000000000..dd35be9017
--- /dev/null
+++ b/testsuite/tests/polykinds/T6044.hs
@@ -0,0 +1,6 @@
+{-# LANGUAGE PolyKinds, DataKinds, TypeFamilies, KindSignatures #-}
+
+module T6044 where
+
+type family Foo (a :: k) :: Maybe k
+type instance Foo a = Just a