summaryrefslogtreecommitdiff
path: root/testsuite/tests/driver/recomp010/X1.hs
blob: 7906d4beefaa9bb89a01d000a428fdc6405fe28f (plain)
1
2
3
4
5
6
7
8
9
10
module X (x, D1(..), D2(..))
where

data D1 = D { f :: D2 } -- deriving Show
data D2 = A | B -- deriving Show

x :: D1
x = D { f = A }