summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/rn024.hs
blob: ae9cc6b4f03d7aacd02624dd55f98db862a480bf (plain)
1
2
3
4
5
6
7
8
9
-- !! This is fine in Haskell 1.4
--
module Foo ( Baz(..) ) where 

class Baz a where
    opx :: Int -> Bar -> a -> a

data Bar = Bar X
data X = Y