summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/T9071-2.hs
blob: 7a2f4749ce868babaef8f7ead85bd2b9f95d77bc (plain)
1
2
3
4
5
6
7
{-# LANGUAGE DeriveFunctor #-}
module T9071_2 where

newtype Mu f = Mu (f (Mu f))

newtype K1 a b = K1 a
newtype F1 a = F1 (Mu (K1 a)) deriving Functor