summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/prog001/rn037.hs
blob: 23a4cfa4b9333fc17506677d91253e942772718e (plain)
1
2
3
4
5
6
7
8
9
-- !!! Checking that you can hide a constructor
module ShouldCompile where

import Rn037Help hiding( C )
        -- C is the constructor, but we should
        -- still be able to hide it

-- we should still be able to refer to the type constructor, though
type Foo = T