diff options
Diffstat (limited to 'testsuite/tests/deriving/should_compile/T4220.hs')
-rw-r--r-- | testsuite/tests/deriving/should_compile/T4220.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/T4220.hs b/testsuite/tests/deriving/should_compile/T4220.hs new file mode 100644 index 0000000000..0b2ba28caa --- /dev/null +++ b/testsuite/tests/deriving/should_compile/T4220.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE EmptyDataDecls, DeriveFunctor, DeriveFoldable, DeriveTraversable #-} +module T4220 where + +import Data.Foldable +import Data.Traversable + +data Void a deriving (Functor, Foldable, Traversable) |