diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-04-26 09:28:45 +0100 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-04-26 09:28:45 +0100 |
commit | eb32f344e3c0259cbd98c6384850d1f085d91219 (patch) | |
tree | 4a8c7836b68626a0b236eab85c05dc4f198ab385 /testsuite/tests/polykinds/T6044.hs | |
parent | fa48f52a0a2f15433cf7bd333dce457c7b202395 (diff) | |
download | haskell-eb32f344e3c0259cbd98c6384850d1f085d91219.tar.gz |
Test Trac #6020 again, and #6044
Diffstat (limited to 'testsuite/tests/polykinds/T6044.hs')
-rw-r--r-- | testsuite/tests/polykinds/T6044.hs | 6 |
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 |