summaryrefslogtreecommitdiff
path: root/ghc/tests/rename/should_compile/rn033.hs
blob: 62aba9183e2cf9709594878a60f4d1ede567ab4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- !!! Checking that lazy name clashing works
module ShouldSucceed where

import List ( sort )

sort :: Int
sort = 3

foo :: Int
foo = ShouldSucceed.sort

baz :: (Ord a) => [a] -> [a]
baz = List.sort