summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod154.hs
blob: 4b7df0936cc9e9405b5635866757e77623e987c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# OPTIONS_GHC -Wno-compat-unqualified-imports #-}

-- !!! 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"