diff options
Diffstat (limited to 'testsuite/tests/deriving/should_fail/drvfail004.hs')
-rw-r--r-- | testsuite/tests/deriving/should_fail/drvfail004.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/deriving/should_fail/drvfail004.hs b/testsuite/tests/deriving/should_fail/drvfail004.hs new file mode 100644 index 0000000000..8716a5837f --- /dev/null +++ b/testsuite/tests/deriving/should_fail/drvfail004.hs @@ -0,0 +1,9 @@ +-- !!! deriving Ord without deriving Eq +-- +module ShouldFail where + +data Foo a b + = C1 a Int + | C2 b Double + deriving Ord + |