summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/drv007.hs
blob: 22da5b4aa3497c0f2571d3896ddbf5bc6a2038cf (plain)
1
2
3
4
5
6
-- !!! deriving Ord on d. type with a single nullary constructor.
-- (from ghc-2.10 panic - as reported by Sergey Mechveliani <mechvel@botik.ru>)
--  
module ShouldSucceed where

data D = D deriving (Eq,Ord)