Implement deriving strategies
[ghc.git] / testsuite / tests / deriving / should_fail / T10598_fail2.hs
1 {-# LANGUAGE DerivingStrategies #-}
2 module T10598_fail2 where
3
4 data A = A Int deriving anyclass Eq
5 newtype B = B Int deriving newtype Eq