diff options
Diffstat (limited to 'testsuite/tests/deriving/should_compile/T4302.hs')
-rw-r--r-- | testsuite/tests/deriving/should_compile/T4302.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_compile/T4302.hs b/testsuite/tests/deriving/should_compile/T4302.hs new file mode 100644 index 0000000000..53035cf595 --- /dev/null +++ b/testsuite/tests/deriving/should_compile/T4302.hs @@ -0,0 +1,18 @@ +{-# LANGUAGE StandaloneDeriving, DeriveDataTypeable, DeriveFunctor, DeriveFoldable, DeriveTraversable, EmptyDataDecls #-} +module T4302 where + +import Data.Ix +import Data.Typeable +import Data.Data +import Data.Foldable +import Data.Traversable + +data Test a + +deriving instance Eq (Test a) +deriving instance Ord (Test a) +deriving instance Typeable Test +deriving instance Data a => Data (Test a) +deriving instance Functor Test +deriving instance Foldable Test +deriving instance Traversable Test |