summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/prog001/rn037.hs
blob: 544de2fdd942b22ef6c24cd9bc227b3155699eb5 (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