[commit: testsuite] master: Add test for #7487 (877361e)

José Pedro Magalhães <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/877361e68a6ae4c2fc825440b4e9739acfecd5c4

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

commit 877361e68a6ae4c2fc825440b4e9739acfecd5c4
Author: Jose Pedro Magalhaes <[email protected]>
Date:   Mon Dec 10 12:30:07 2012 +0000

    Add test for #7487

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

 tests/generics/GenCanDoRep1.hs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tests/generics/GenCanDoRep1.hs b/tests/generics/GenCanDoRep1.hs
index 16ca81d..93817e6 100644
--- a/tests/generics/GenCanDoRep1.hs
+++ b/tests/generics/GenCanDoRep1.hs
@@ -16,5 +16,9 @@ data B a = B0 | B1
 data C a = C0 | C1 { c11 :: a, c12 :: (C a) }
   deriving (Generic, Generic1)
 
+data D a = D (Either Int a) deriving Generic1
+
+data E a = E (Either Int (E a)) deriving Generic1
+
 data (:*:) a b = a :*: b
   deriving (Generic, Generic1)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.