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

import Data.List ( sort )

sort :: Int
sort = 3

foo :: Int
foo = ShouldCompile.sort

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