summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T12801.hs
blob: 6bb773a22d678728f06b9ef56d8f26fb9e9999ab (plain)
1
2
3
4
5
6
7
8
9
{-# LANGUAGE Haskell2010 #-}
data Container
  = Container [Wibble Int]
  deriving (Eq, Show)

data Wibble a
  = Wibble a
  | Wobble
  deriving (Eq, Functor, Show)