diff options
Diffstat (limited to 'testsuite/tests/module/mod154.hs')
-rw-r--r-- | testsuite/tests/module/mod154.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod154.hs b/testsuite/tests/module/mod154.hs new file mode 100644 index 0000000000..6155b830f0 --- /dev/null +++ b/testsuite/tests/module/mod154.hs @@ -0,0 +1,9 @@ +-- !!! Default export list isn't the same as (module M) +-- This should succeed, exporting only the local 'sort', +-- and not being confused by the 'sort' from 'List'. +-- (Hugs gets this wrong) + +module M where + +import Data.List as M +sort = "foo" |