[commit: ghc] master: Added testcase for #9069 (63d7047)

git at git.haskell.org git at git.haskell.org
Fri Jun 6 14:09:55 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/63d7047a8a20c4e8b1c050b4577bbd7ee5cebafc/ghc

>---------------------------------------------------------------

commit 63d7047a8a20c4e8b1c050b4577bbd7ee5cebafc
Author: Sjoerd Visscher <sjoerd at w3future.com>
Date:   Fri Jun 6 15:26:20 2014 +0200

    Added testcase for #9069


>---------------------------------------------------------------

63d7047a8a20c4e8b1c050b4577bbd7ee5cebafc
 testsuite/tests/deriving/should_compile/T9069.hs | 9 +++++++++
 testsuite/tests/deriving/should_compile/all.T    | 1 +
 2 files changed, 10 insertions(+)

diff --git a/testsuite/tests/deriving/should_compile/T9069.hs b/testsuite/tests/deriving/should_compile/T9069.hs
new file mode 100644
index 0000000..7ab3af3
--- /dev/null
+++ b/testsuite/tests/deriving/should_compile/T9069.hs
@@ -0,0 +1,9 @@
+{-# LANGUAGE DeriveTraversable #-}
+
+module T9069 where
+
+import Data.Foldable
+import Data.Traversable
+
+data Trivial a = Trivial a
+   deriving (Functor,Foldable,Traversable)
\ No newline at end of file
diff --git a/testsuite/tests/deriving/should_compile/all.T b/testsuite/tests/deriving/should_compile/all.T
index 97e2c83..f440e80 100644
--- a/testsuite/tests/deriving/should_compile/all.T
+++ b/testsuite/tests/deriving/should_compile/all.T
@@ -50,3 +50,4 @@ test('T8893', normal, compile, [''])
 test('T8950', expect_broken(8950), compile, [''])
 test('T8963', normal, compile, [''])
 test('T7269', normal, compile, [''])
+test('T9069', normal, compile, [''])



More information about the ghc-commits mailing list