summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod45.hs
blob: 03a1bc32ba599cbfc680fb256d3d3f141c3bb769 (plain)
1
2
3
4
5
6
7
-- !!! Type sigs in instance decl
module M where
data T = T Int
instance Eq T where
  (==) :: T -> T -> Bool
  T x == T y = x == y