summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T3833.hs
blob: eecb9e789ebdb56aa6ef819075d6a867195ef1cf (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE Haskell2010 #-}

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

import Data.Monoid

newtype DecodeMap e = DecodeMap [e]

deriving instance Monoid (DecodeMap e)