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

-- #958

module ShoulFail where

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