summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod45.hs
blob: a49f7da619e16ed1359868498c73d7c71196fdfb (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE Haskell2010 #-}
-- !!! 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