summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail-functor1.hs
blob: aef52421e07191f710d5c55f4b55e6b720949119 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE Haskell2010 #-}
module ShouldFail where

-- Derive Functor without a DeriveFunctor language pragma

data List a = Nil | Cons a (List a)
    deriving Functor