summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T20185a.hs
blob: ac9adbfd8bca169fac2c7ae9254bbcc9564dcfdd (plain)
1
2
3
4
5
6
7
8
9
10
module T20185a where

data X = X { foo :: Y   }
data Y = Y { bar :: Int }

y :: Y
y = Y 1

x :: X
x = X y