diff options
Diffstat (limited to 'testsuite/tests/module/mod176.hs')
-rw-r--r-- | testsuite/tests/module/mod176.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod176.hs b/testsuite/tests/module/mod176.hs new file mode 100644 index 0000000000..250711345c --- /dev/null +++ b/testsuite/tests/module/mod176.hs @@ -0,0 +1,10 @@ +module ShouldCompile where + +import Prelude () +import Control.Monad( Monad(return), mapM ) + -- Should report Monad and return as unused imports +import GHC.Base + -- But not their import from here + +x = True +y x = mapM |