summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_compile/drv008.hs
blob: b615809caa7efafffc5d8fd2314524d26448ad00 (plain)
1
2
3
4
5
6
7
-- !!! deriving Ix on d. type with nullary constructors
module ShouldSucceed where

import Data.Ix

data AD = A | B | C | D deriving (Show, Ord, Eq, Ix)