1 -- !!! Checking that lazy name clashing works.
2 module ShouldCompile where
4 import List ( reverse, sort )
6 sort :: Int -- Clashes with List.sort,
7 sort = 4 -- but never used, so OK
10 reverse :: Int -- Clashes with List.reverse,
11 reverse = 3 -- but the only uses are qualified
13 x = ShouldCompile.reverse