summaryrefslogtreecommitdiff
path: root/testsuite/tests/simplCore/should_compile/T8221a.hs
blob: 87dfc84117ef91da8e24b6096665e677aa5ce7b0 (plain)
1
2
3
4
5
6
7
8
module T8221a where

import Data.IORef

data Link a = Link !(IORef (Link a)) | X 

instance Eq (Link a) where
 (==) (Link x) (Link y) = x==y