summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T10598_fail2.hs
blob: ba77fe0fbf9652853b6aeb4f7a8f4a399d17a433 (plain)
1
2
3
4
5
{-# LANGUAGE DerivingStrategies #-}
module T10598_fail2 where

data    A = A Int deriving anyclass Eq
newtype B = B Int deriving newtype  Eq