summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_compile/drv009.hs
blob: 4ac069d30c7c319d47305eaae89e3aac30ec212c (plain)
1
2
3
4
5
6
-- !!! deriving Ix on d. type with one constructor
module ShouldSucceed where

import Data.Ix

data Pair a b = Pair a b deriving (Show, Ord, Eq, Ix)