summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T3833.hs
blob: d1196c4112d1f8270fd0eafbcb09ab19a1319a84 (plain)
1
2
3
4
5
6
7
8
9

{-# LANGUAGE StandaloneDeriving #-}
-- {-# LANGUAGE GeneralizedNewtypeDeriving #-}

import Data.Monoid

newtype DecodeMap e = DecodeMap [e]

deriving instance Monoid (DecodeMap e)