Repository : ssh://darcs.haskell.org//srv/darcs/testsuite On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f9d8b88b2d5bdaea946d9df75dbf5555bd23791b >--------------------------------------------------------------- commit f9d8b88b2d5bdaea946d9df75dbf5555bd23791b Author: Simon Peyton Jones <[email protected]> Date: Thu Apr 26 14:45:19 2012 +0100 Test Trac #5884 >--------------------------------------------------------------- tests/generics/T5884.hs | 9 +++++++++ tests/generics/all.T | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/tests/generics/T5884.hs b/tests/generics/T5884.hs new file mode 100644 index 0000000..6dfad25 --- /dev/null +++ b/tests/generics/T5884.hs @@ -0,0 +1,9 @@ +{-# LANGUAGE StandaloneDeriving, DeriveGeneric #-} + +module T5884 where + +import GHC.Generics + +import Data.Complex + +deriving instance Generic (Complex v) diff --git a/tests/generics/all.T b/tests/generics/all.T index f9e75c7..2382d8b 100644 --- a/tests/generics/all.T +++ b/tests/generics/all.T @@ -7,3 +7,4 @@ test('GenShouldFail0', normal, compile_fail, ['']) test('GenCannotDoRep0', normal, compile_fail, ['']) test('GenCannotDoRep1', normal, compile_fail, ['']) test('GenCannotDoRep2', normal, compile_fail, ['']) +test('T5884', normal, compile, ['']) _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
