[commit: ghc] master: Test Trac #9222 (127c45e)

git at git.haskell.org git at git.haskell.org
Tue Jul 1 14:24:11 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/127c45ea30eaee6b5244b3f30aaa701d0ad327ac/ghc

>---------------------------------------------------------------

commit 127c45ea30eaee6b5244b3f30aaa701d0ad327ac
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jul 1 15:23:30 2014 +0100

    Test Trac #9222


>---------------------------------------------------------------

127c45ea30eaee6b5244b3f30aaa701d0ad327ac
 testsuite/tests/polykinds/T9222.hs | 7 +++++++
 testsuite/tests/polykinds/all.T    | 1 +
 2 files changed, 8 insertions(+)

diff --git a/testsuite/tests/polykinds/T9222.hs b/testsuite/tests/polykinds/T9222.hs
new file mode 100644
index 0000000..df11251
--- /dev/null
+++ b/testsuite/tests/polykinds/T9222.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE RankNTypes, GADTs, DataKinds, PolyKinds, TypeOperators, TypeFamilies #-}
+module T9222 where
+
+import Data.Proxy
+
+data Want :: (i,j) -> * where
+  Want :: (a ~ '(b,c) => Proxy b) -> Want a
diff --git a/testsuite/tests/polykinds/all.T b/testsuite/tests/polykinds/all.T
index 09c7254..f642acd 100644
--- a/testsuite/tests/polykinds/all.T
+++ b/testsuite/tests/polykinds/all.T
@@ -102,3 +102,4 @@ test('T8705', normal, compile, [''])
 test('T8985', normal, compile, [''])
 test('T9106', normal, compile_fail, [''])
 test('T9144', normal, compile_fail, [''])
+test('T9222', normal, compile, [''])



More information about the ghc-commits mailing list