diff options
Diffstat (limited to 'testsuite/tests/rename/should_compile/rn033.hs')
-rw-r--r-- | testsuite/tests/rename/should_compile/rn033.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/tests/rename/should_compile/rn033.hs b/testsuite/tests/rename/should_compile/rn033.hs new file mode 100644 index 0000000000..4c30160a8d --- /dev/null +++ b/testsuite/tests/rename/should_compile/rn033.hs @@ -0,0 +1,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 + |