summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_fail/drvfail004.hs
blob: 8716a5837f8ad3cb2568eb7efb9024fca8f36687 (plain)
1
2
3
4
5
6
7
8
9
-- !!! deriving Ord without deriving Eq
--
module ShouldFail where

data Foo a b
  = C1 a Int
  | C2 b Double
  deriving Ord