Added testcase for #9069
authorSjoerd Visscher <sjoerd@w3future.com>
Fri, 6 Jun 2014 13:26:20 +0000 (15:26 +0200)
committerSjoerd Visscher <sjoerd@w3future.com>
Fri, 6 Jun 2014 13:26:20 +0000 (15:26 +0200)
testsuite/tests/deriving/should_compile/T9069.hs [new file with mode: 0644]
testsuite/tests/deriving/should_compile/all.T

diff --git a/testsuite/tests/deriving/should_compile/T9069.hs b/testsuite/tests/deriving/should_compile/T9069.hs
new file mode 100644 (file)
index 0000000..7ab3af3
--- /dev/null
@@ -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
index 97e2c83..f440e80 100644 (file)
@@ -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, [''])