diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-13 23:43:51 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-03-13 23:43:51 +0000 |
commit | 8fe929f0c43b98e52f832ff223ee6d251bb0bae6 (patch) | |
tree | 9731b83e91aa31225abf9c658b2743f3819edd21 /testsuite/tests/polykinds/T5937.hs | |
parent | 470382ed5ef62f4cfa56b23d03d21a60c01ee927 (diff) | |
download | haskell-8fe929f0c43b98e52f832ff223ee6d251bb0bae6.tar.gz |
Test Trac #5937
Diffstat (limited to 'testsuite/tests/polykinds/T5937.hs')
-rw-r--r-- | testsuite/tests/polykinds/T5937.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/polykinds/T5937.hs b/testsuite/tests/polykinds/T5937.hs new file mode 100644 index 0000000000..20bc59e6f1 --- /dev/null +++ b/testsuite/tests/polykinds/T5937.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE PolyKinds, KindSignatures, DataKinds, GADTs #-} +module T5937 where + +data SMaybe :: (k -> *) -> Maybe k -> * where + SNothing :: SMaybe s 'Nothing + SJust :: s a -> SMaybe s ('Just a) |