summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail169.hs
blob: e0d6e4f83820cbcafc0d64267200e0761b9f70da (plain)
1
2
3
4
5
6
7
8

-- Trac #958

module ShoulFail where

data Succ a = S a 	-- NB: deriving Show omitted
data Seq a = Cons a (Seq (Succ a)) | Nil deriving Show