diff options
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail013.hs')
-rw-r--r-- | testsuite/tests/deriving/should_fail/drvfail013.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail013.hs b/testsuite/tests/deriving/should_fail/drvfail013.hs new file mode 100644 index 0000000000..d8a7322dba --- /dev/null +++ b/testsuite/tests/deriving/should_fail/drvfail013.hs @@ -0,0 +1,6 @@ + +-- Test for trac #1588: unrequested generalized newtype deriving? + +newtype MaybeT m a = MaybeT { runMaybeT :: m (Maybe a) } deriving Eq + +data MaybeT' m a = MaybeT' { runMaybeT' :: m (Maybe a) } deriving Eq |