Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/fda8743e64381306c843cc452aa61572c73e18df >--------------------------------------------------------------- commit fda8743e64381306c843cc452aa61572c73e18df Author: Simon Peyton Jones <[email protected]> Date: Mon May 14 13:50:17 2012 +0100 Test Trac #6081 >--------------------------------------------------------------- tests/polykinds/T6081.hs | 10 ++++++++++ tests/polykinds/all.T | 1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/tests/polykinds/T6081.hs b/tests/polykinds/T6081.hs new file mode 100644 index 0000000..ac1bd98 --- /dev/null +++ b/tests/polykinds/T6081.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE KindSignatures, PolyKinds, DataKinds, RankNTypes #-} + +module T6081 where + +data KProxy (a :: *) = KP + +class KindClass (kp :: KProxy k) +instance KindClass (KP :: KProxy [k]) + + diff --git a/tests/polykinds/all.T b/tests/polykinds/all.T index 3e026da..ebb8db6 100644 --- a/tests/polykinds/all.T +++ b/tests/polykinds/all.T @@ -44,3 +44,4 @@ test('T6021', normal, compile_fail, ['']) test('T6020a', normal, compile, ['']) test('T6044', normal, compile, ['']) test('T6054', normal, run_command, ['$MAKE -s --no-print-directory T6054']) +test('T6081', normal, compile, ['']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
