[commit: ghc] ghc-7.8: Test Trac #9222 (f3f4589)

git at git.haskell.org git at git.haskell.org
Wed Jul 2 16:11:44 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/f3f45895ccafd9b87566c063626cf516c0a13123/ghc

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

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

    Test Trac #9222
    
    (cherry picked from commit 127c45ea30eaee6b5244b3f30aaa701d0ad327ac)
    
    Conflicts:
    	testsuite/tests/polykinds/all.T


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

f3f45895ccafd9b87566c063626cf516c0a13123
 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 96faa67..de73b37 100644
--- a/testsuite/tests/polykinds/all.T
+++ b/testsuite/tests/polykinds/all.T
@@ -101,3 +101,4 @@ test('T7481', normal, compile_fail,[''])
 test('T8705', normal, compile, [''])
 test('T8985', normal, compile, [''])
 test('T9106', normal, compile_fail, [''])
+test('T9222', normal, compile, [''])



More information about the ghc-commits mailing list