summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/deriving/should_compile/T4325.hs
blob: 68ab81744b6e62fdd942c4e519f580ae704cb5fb (plain)
1
2
3
4
5
6
7
{-# LANGUAGE DatatypeContexts #-}

module T4325 where

data Ord a => Heap a b = Empty | Node a b [Heap a b]
    deriving Eq